Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
d24ae503
Commit
d24ae503
authored
Oct 24, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ff compalitity
parent
d8823e40
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
_netdisk.less
ui/theme/default/css/_netdisk.less
+1
-0
netdiskfinder.js
ui/widget/netdiskfinder.js
+4
-3
No files found.
ui/theme/default/css/_netdisk.less
View file @
d24ae503
...
...
@@ -143,6 +143,7 @@
padding: 0;
list-style: none;
overflow: auto;
overflow-x: hidden;
.empty {
height: 50px;
line-height: 50px;
...
...
ui/widget/netdiskfinder.js
View file @
d24ae503
...
...
@@ -240,15 +240,16 @@ KityMinder.registerUI('widget/netdiskfinder', function(minder) {
if
(
!
$target
.
hasClass
(
'file-list-item'
))
{
return
;
}
event
.
dataTransfer
.
effectAllowed
=
"move"
;
event
.
dataTransfer
.
setDragImage
(
$target
.
find
(
'.icon'
).
get
(
0
),
12
,
12
);
e
.
originalEvent
.
dataTransfer
.
effectAllowed
=
"move"
;
e
.
originalEvent
.
dataTransfer
.
setData
(
'text/plain'
,
'test'
);
e
.
originalEvent
.
dataTransfer
.
setDragImage
(
$target
.
find
(
'.icon'
).
get
(
0
),
12
,
12
);
$dragging
=
$target
.
addClass
(
'dragging'
);
$finder
.
addClass
(
'drop-mode'
);
}
function
itemDragEnd
(
e
)
{
$
(
e
.
target
).
removeClass
(
'dragging'
);
event
.
dataTransfer
.
dropEffect
=
'move'
;
e
.
originalE
vent
.
dataTransfer
.
dropEffect
=
'move'
;
e
.
preventDefault
();
$finder
.
removeClass
(
'drop-mode'
);
}
...
...
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