#6923 closed bug (notabug)
UI Dialog Bug with jQuery 5.0
Reported by: | GrInYa | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.dialog | Version: | 1.8.9 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
With jQuery 5.0 after closing dialog window, you can not re-open it with
.dialog('open');
Change History (9)
comment:1 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
yes...i mean 1.5 =)) sorry my mistake...
ps: try with google chrome lattest version...with jQuery 1.4.4 works fine
comment:4 Changed 12 years ago by
strange...now it worked...some days ago it didnt... ;) also console log didn't gave any errors
comment:5 Changed 12 years ago by
i use in that way this method...and after i created and opened dialog, it dont want to open again:
showAlert: function(text) { var newText = ''; var triangle = '<span class="ui-icon ui-icon-triangle-1-e" style="float:left;"></span>'; if ($.isArray(text)) { $.each(text, function(key, value) { newText += triangle + value + '<br />'; }) } else { newText = triangle + text; } if (!$('#dialogMessage').length) { $('body').append('<div id="dialogMessage"><span id="dialogContent"></span></div>'); $('#dialogContent').html(newText); $('#dialogMessage').dialog({ hide: 'explode', show: 'drop', width: 'auto', maxWidth: 800, maxHeight: 400, resizable: false, draggable: false, title: '<span class="ui-icon ui-icon-alert" style="float:left; margin-right:10px;"></span>' + WEBSITE_TITLE + ' Alert', modal: true, buttons: { Ok: function() { $(this).dialog('close'); } } }); } else { $('#dialogContent').html(newText); $('#dialogMessage').dialog('open'); } }
i dont get any errors in js...but dont want to re-open
comment:9 Changed 12 years ago by
in my project i use lattest version of jQuery and UI...if i will find others...ill write them here
Note: See
TracTickets for help on using
tickets.
Perhaps you mean jQuery 1.5? Even then it works.