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
Chiefs
ChiefSend
Commits
c09f6fcd
Commit
c09f6fcd
authored
Oct 24, 2020
by
Lukas Bhm
Browse files
fixed cancel button
abort and reupload works now
parent
3e3ee022
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/templates/Upload.html
View file @
c09f6fcd
...
@@ -93,11 +93,13 @@
...
@@ -93,11 +93,13 @@
window
.
location
.
href
=
xhr
.
responseText
;
window
.
location
.
href
=
xhr
.
responseText
;
}
}
}
else
{
}
else
{
$
(
'
.progress-bar
'
).
html
(
"
0%
"
).
width
(
0
);
document
.
getElementById
(
'
download_limit
'
).
disabled
=
false
;
document
.
getElementById
(
'
download_limit
'
).
disabled
=
false
;
document
.
getElementById
(
'
timer
'
).
disabled
=
false
;
document
.
getElementById
(
'
timer
'
).
disabled
=
false
;
document
.
getElementById
(
'
submit
'
).
disabled
=
false
;
document
.
getElementById
(
'
submit
'
).
disabled
=
false
;
document
.
getElementById
(
'
name
'
).
disabled
=
false
;
document
.
getElementById
(
'
name
'
).
disabled
=
false
;
document
.
getElementById
(
'
files
'
).
disabled
=
false
;
document
.
getElementById
(
'
files
'
).
disabled
=
false
;
abb
=
false
;
}
}
}
}
});
});
...
...
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