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
21b85f10
Commit
21b85f10
authored
May 09, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
草稿箱问题修复
parent
f8d19797
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
social.js
social/social.js
+2
-1
dropfile.js
src/module/dropfile.js
+5
-5
No files found.
social/social.js
View file @
21b85f10
...
...
@@ -766,9 +766,10 @@ $( function () {
}
function
bindDraft
()
{
draftManager
=
window
.
draftManager
;
if
(
!
draftManager
)
{
if
(
window
.
DraftManager
)
{
draftManager
=
new
window
.
DraftManager
(
minder
);
draftManager
=
window
.
draftManager
=
new
window
.
DraftManager
(
minder
);
}
}
...
...
src/module/dropfile.js
View file @
21b85f10
...
...
@@ -21,8 +21,8 @@ KityMinder.registerModule( "DropFile", function () {
e
.
stopPropagation
();
var
minder
=
this
;
if
(
kity
.
Browser
.
ie
&&
Number
(
kity
.
Browser
.
version
)
<
10
)
{
alert
(
'文件导入对IE浏览器仅支持10以上版本'
);
if
(
kity
.
Browser
.
ie
&&
Number
(
kity
.
Browser
.
version
)
<
10
)
{
alert
(
'文件导入对IE浏览器仅支持10以上版本'
);
return
;
}
...
...
@@ -49,9 +49,9 @@ KityMinder.registerModule( "DropFile", function () {
createDraft
(
this
);
social
.
setRemotePath
(
null
,
false
);
this
.
execCommand
(
'camera'
,
this
.
getRoot
()
);
setTimeout
(
function
()
{
setTimeout
(
function
()
{
social
.
watchChanges
(
true
);
},
10
);
},
10
);
importing
=
false
;
}
...
...
@@ -73,7 +73,7 @@ KityMinder.registerModule( "DropFile", function () {
}
function
createDraft
(
minder
)
{
draftManager
=
window
.
draftManager
;
draftManager
=
window
.
draftManager
||
(
window
.
draftManager
=
new
window
.
DraftManager
(
minder
)
)
;
draftManager
.
create
();
}
...
...
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