Skip to content

Commit 8bfb44f

Browse files
author
Marius Burkard
committed
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
2 parents e8c9f64 + 9ab02a9 commit 8bfb44f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/themes/default/assets/javascripts/ispconfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ var ISPConfig = {
223223

224224
var frame_id = 'ajaxUploader-iframe-' + Math.round(new Date().getTime() / 1000);
225225
$('body').append('<iframe width="0" height="0" style="display:none;" name="'+frame_id+'" id="'+frame_id+'"/>');
226-
$('#'+frame_id).load(function() {
226+
$('#'+frame_id).on("load", function() {
227227
var msg = handleResponse(this);
228228
$('#errorMsg').remove();
229229
$('#OKMsg').remove();

0 commit comments

Comments
 (0)