Commit 8bfb44ff authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch '6322-jquery-error-zone-import' into 'develop'

Change deprecated JQuery .load() to .on("load") - #6322

Closes #6322

See merge request ispconfig/ispconfig3!1607
parents e8c9f64d 9ab02a9d
Pipeline #11820 passed with stage
in 8 seconds
......@@ -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