Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
8b467ffa
Commit
8b467ffa
authored
Dec 18, 2014
by
Jan-Christoph Borchardt
Browse files
Merge pull request #12947 from owncloud/fix-spinner-file-upload-ie89
show spinner on file upload in IE8, 9
parents
609e1023
7798ea0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/files/js/file-upload.js
View file @
8b467ffa
...
...
@@ -501,6 +501,21 @@ OC.Upload = {
}
});
}
else
{
// for all browsers that don't support the progress bar
// IE 8 & 9
// show a spinner
fileupload
.
on
(
'
fileuploadstart
'
,
function
()
{
$
(
'
#upload
'
).
addClass
(
'
icon-loading
'
);
$
(
'
#upload .icon-upload
'
).
hide
();
});
// hide a spinner
fileupload
.
on
(
'
fileuploadstop fileuploadfail
'
,
function
()
{
$
(
'
#upload
'
).
removeClass
(
'
icon-loading
'
);
$
(
'
#upload .icon-upload
'
).
show
();
});
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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