Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
ISPConfig
ISPConfig 3
Commits
9ab02a9d
Verified
Commit
9ab02a9d
authored
May 18, 2022
by
Dovi Cowan
Browse files
Change depracated .load() to .on("load") -
#6322
parent
401fb925
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/themes/default/assets/javascripts/ispconfig.js
View file @
9ab02a9d
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment