Skip to content

Commit

Permalink
Fixed issue #07261: Internet Explorer: short free text not accessible…
Browse files Browse the repository at this point in the history
… after file upload

Dev: tested with IE7 (broken without this)
Dev: thanks to Kevin B : http://forum.jquery.com/topic/unclickable-text-after-dialog-closed
Dev: personal comment: This upload file system is a real pity
  • Loading branch information
Shnoulle committed Mar 22, 2013
1 parent a4331dc commit a533ae8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/modaldialog.js
Expand Up @@ -32,9 +32,8 @@ $(document).ready(function() {
pass=document.getElementById('uploader').contentWindow.saveAndExit(fieldname,show_title,show_comment,pos);
}
if (pass) {
$(this).dialog('close');
$('iframe#uploader').remove();
$(this).dialog('destroy');
$(this).dialog('destroy').remove();
checkconditions();
}
};
Expand Down Expand Up @@ -68,7 +67,7 @@ $(document).ready(function() {
}
if (pass) {
$('iframe#uploader').remove();
$(this).dialog('destroy');
$(this).dialog('destroy').remove();
checkconditions();
}
return true;
Expand Down

0 comments on commit a533ae8

Please sign in to comment.