Verified Commit 9ab02a9d authored by Dovi Cowan's avatar Dovi Cowan
Browse files

Change depracated .load() to .on("load") - #6322

parent 401fb925
......@@ -223,7 +223,7 @@ var ISPConfig = {
var frame_id = 'ajaxUploader-iframe-' + Math.round(new Date().getTime() / 1000);
$('body').append('<iframe width="0" height="0" style="display:none;" name="'+frame_id+'" id="'+frame_id+'"/>');
$('#'+frame_id).load(function() {
$('#'+frame_id).on("load", function() {
var msg = handleResponse(this);
$('#errorMsg').remove();
$('#OKMsg').remove();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment