Skip to content

Commit

Permalink
Fix to QDialogBox to not lose focus on a child control
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeho committed Aug 19, 2010
1 parent c456049 commit c03cddd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions www/assets/js/_core/control_dialog.js
Expand Up @@ -17,6 +17,9 @@
};
objWrapper.id = objControl.id + "_ctl";

// Only register if we haven't yet registered
if (objWrapper.showDialogBox) return;

// DialogBox MUST be at the "top level" in the DOM, a direct child of the FORM
document.getElementById(document.getElementById("Qform__FormId").value).appendChild(objWrapper);

Expand Down

0 comments on commit c03cddd

Please sign in to comment.