dialog not working on 1.10.0
I have a problem with a dialog and I have had to roll back to 1.9.2. The dialog box shows however it is covered with grey which has the same Z order as the dialog itself. (I force z-order 100 and grey box was 100, then z order101 and it was 101.)
I can type and tab between fields however I cannot click to select the input box on the dialog itself. The problem varies slightly with AutoOpen true/false. Without autoOpen the greying out covers the entire screen and when I scroll it is only partially obscured.
I have added the noOverlayDialog option, I also tried to call movetotop and this had no effect.
Can anyone see a problem with my code, note this works OK in 1.9.2.
- var dlg = jQuery('#dialogUpdateContact');
- if(dlg) {
- jQuery('#dialogUpdateConfirmSuccess').dialog({
- moveToTop: true,
- bgiframe: true,
- dialogClass: "noOverlayDialog",
- autoOpen: false,
- modal: true,
- closeOnEscape: false,
- open: function (event, ui) {
- $(this).parent().children().children('.ui-dialog-titlebar-close').hide();
- },
- buttons: {
- Ok: function () {
- $(this).dialog('close');
- $('#dialogUpdateContact').dialog('close').dialog('destroy');
- $('.ui-effects-wrapper').remove();
- return false;
- }
- }
- });
- jQuery('#dialogUpdateConfirmFailed').dialog({
- moveToTop: true,
- dialogClass: "noOverlayDialog",
- bgiframe: true,
- autoOpen: false,
- modal: true,
- closeOnEscape: false,
- open: function (event, ui) {
- $(this).parent().children().children('.ui-dialog-titlebar-close').hide();
- },
- buttons: {
- Ok: function () {
- $(this).dialog('close');
- $('#dialogUpdateContact').dialog('close').dialog('destroy');
- $('.ui-effects-wrapper').remove();
- }
- }
- });
- dlg.dialog({
- bgiframe: true,
- autoOpen: false,
- width: 850,
- closeOnEscape: false,
- open: function (event, ui) {
- $(this).parent().children().children('.ui-dialog-titlebar-close').hide();
- },
- modal: true,
- show: 'clip'
- }).parent().appendTo($('form:first'));
- dlg.dialog('open');
- dlg.dialog('moveToTop');
- }