Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
14ad2ef4
Commit
14ad2ef4
authored
Feb 25, 2017
by
Robert Lyon
Committed by
Gerrit Code Review
Feb 25, 2017
Browse files
Merge "Bug 1664061: Out of sync upload pending/success messages"
parents
fec870f2
6cc54964
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/artefact/file/js/filedropzone.js
View file @
14ad2ef4
...
@@ -106,11 +106,8 @@ jQuery(document).ready(function() {
...
@@ -106,11 +106,8 @@ jQuery(document).ready(function() {
j
(
'
#file_dropzone_container
'
).
removeClass
(
'
dragover
'
);
j
(
'
#file_dropzone_container
'
).
removeClass
(
'
dragover
'
);
});
});
myDropzone
.
on
(
"
selectedfiles
"
,
function
(
userfile
)
{
dropzone_uploadnumber
=
window
[
prefix
].
nextupload
-
current_drop_number
;
});
myDropzone
.
on
(
"
addedfile
"
,
function
(
userfile
)
{
myDropzone
.
on
(
"
addedfile
"
,
function
(
userfile
)
{
dropzone_uploadnumber
=
window
[
prefix
].
nextupload
-
current_drop_number
;
current_drop_number
++
;
current_drop_number
++
;
window
[
prefix
].
dragdrop
=
true
;
window
[
prefix
].
dragdrop
=
true
;
window
[
prefix
].
upload_presubmit_dropzone
(
userfile
);
window
[
prefix
].
upload_presubmit_dropzone
(
userfile
);
...
...
Write
Preview
Supports
Markdown
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