Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
3pia
VISPA
VISPA web
Commits
e874aac0
Commit
e874aac0
authored
Oct 17, 2014
by
asseldonk
Browse files
filebrowswer: add removeclass for drag and drop hover
parent
6786cef9
Changes
1
Hide whitespace changes
Inline
Side-by-side
vispa/extensions/file/static/js/base/events.js
View file @
e874aac0
...
...
@@ -200,6 +200,7 @@ var FileBaseEvents = Class.extend({
node
.
on
(
'
drop
'
,
function
(
event
)
{
event
.
preventDefault
();
$
(
node
).
removeClass
(
"
file-dragover
"
);
fileToBeMoved
=
(
event
.
originalEvent
.
dataTransfer
.
getData
(
'
dataName
'
));
if
(
fileToBeMoved
==
""
)
{
if
(
data
.
type
==
"
d
"
)
{
...
...
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