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
ce202ecf
Commit
ce202ecf
authored
Mar 25, 2014
by
techird
Browse files
Options
Browse Files
Download
Plain Diff
merge from dev
parents
d73b1713
8057635b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
social.js
social/social.js
+4
-5
view.js
src/module/view.js
+1
-0
No files found.
social/social.js
View file @
ce202ecf
...
...
@@ -275,7 +275,6 @@ $( function () {
url
:
url
,
dataType
:
'text'
,
success
:
function
(
result
)
{
watchingChanges
=
false
;
minder
.
importData
(
result
,
'json'
);
...
...
@@ -284,11 +283,11 @@ $( function () {
draftManager
.
create
();
}
draftManager
.
save
(
remotePath
);
watchingChanges
=
true
;
draftManager
.
sync
();
minder
.
execCommand
(
'camera'
,
minder
.
getRoot
()
);
$user_btn
.
loading
(
false
).
text
(
getFileName
(
remotePath
)
);
watchingChanges
=
true
;
}
}
);
},
...
...
@@ -327,7 +326,7 @@ $( function () {
}
}
else
{
draft
=
draftManager
.
openByPath
(
path
);
setRemotePath
(
path
,
!
draft
);
setRemotePath
(
path
,
!
draft
||
draft
.
sync
);
if
(
draft
)
{
draftManager
.
load
();
}
else
{
...
...
src/module/view.js
View file @
ce202ecf
...
...
@@ -104,6 +104,7 @@ KityMinder.registerModule( 'View', function () {
var
dx
=
viewport
.
center
.
x
-
offset
.
x
-
offset
.
width
/
2
,
dy
=
viewport
.
center
.
y
-
offset
.
y
;
km
.
getRenderContainer
().
fxTranslate
(
dx
,
dy
,
1000
,
"easeOutQuint"
);
this
.
setContentChanged
(
false
);
}
}
);
...
...
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