Opened 13 years ago
Closed 12 years ago
#5880 closed bug (fixed)
IE8 Issue with prototype and dialog modal box
Reported by: | paramiliar | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.8.2 |
Component: | ui.dialog | Version: | 1.8.2 |
Keywords: | ie8 prototype | Cc: | |
Blocked by: | Blocking: |
Description
When loading a Modal box in IE8 with prototype loaded as well as Jquery the modal box display no content and when attempting to resize generates an error in the JS file.
This does not happen on Firefox.
Example Code
<script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script> <script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js"></script> <script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js"></script> <script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.3/scriptaculous.js"></script> <script type="text/javascript" language="javascript"> var $jq = jQuery // var $jq = jQuery.noConflict(); $jq(function() { // browse dialog $jq("#testupload").dialog({ autoOpen: false, height: 500, width: 800, modal: true, buttons: { 'Close': function() { $jq(this).dialog('close'); } }, close: function(){ $('testupload').innerHTML = '<p align="center">Please wait while retrieving file lists...<br /><img id="theimagepreview" src="/admin/images/processbar.gif" /></p>'; } }); }); </script> <input type="button" value="test" id="testbutton" onclick="$jq('#testupload').dialog('open');" /> <div id="testupload" title="test"><p>testing</p></div>
Attachments (2)
Change History (3)
Changed 13 years ago by
Attachment: | example.jpg added |
---|
comment:1 Changed 12 years ago by
Milestone: | TBD → 1.8.2 |
---|---|
Priority: | critical → major |
Resolution: | → fixed |
Status: | new → closed |
This is fixed in jQuery core 1.4.3.
Note: See
TracTickets for help on using
tickets.
Screenshot of problem