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
7105d0f2
Commit
7105d0f2
authored
Mar 19, 2014
by
Akikonata
Browse files
Options
Browse Files
Download
Plain Diff
merge conflict
parents
efa7e00b
de02a11b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
5 deletions
+19
-5
help.js
dialogs/help/help.js
+9
-1
kityminder.all.js
dist/kityminder.all.js
+7
-2
kityminder.all.min.js
dist/kityminder.all.min.js
+2
-2
dialog.css
themes/default/css/dialog.css
+1
-0
No files found.
dialogs/help/help.js
View file @
7105d0f2
...
@@ -40,9 +40,17 @@
...
@@ -40,9 +40,17 @@
helpContent
+=
'</div>'
;
helpContent
+=
'</div>'
;
var
utils
=
KM
.
utils
;
KM
.
registerWidget
(
'help'
,
{
KM
.
registerWidget
(
'help'
,
{
tpl
:
helpContent
,
tpl
:
helpContent
,
initContent
:
function
(
km
)
{
var
lang
=
km
.
getLang
(
'dialogs.help'
),
html
;
if
(
lang
)
{
html
=
$
.
parseTmpl
(
this
.
tpl
,
lang
);
}
this
.
root
().
html
(
html
);
},
initEvent
:
function
(
km
,
$w
)
{},
width
:
400
width
:
400
}
);
}
);
}
)();
}
)();
\ No newline at end of file
dist/kityminder.all.js
View file @
7105d0f2
...
@@ -2773,12 +2773,14 @@ KityMinder.registerModule( "LayoutDefault", function () {
...
@@ -2773,12 +2773,14 @@ KityMinder.registerModule( "LayoutDefault", function () {
if
(
Layout
.
shicon
)
Layout
.
shicon
.
remove
();
if
(
Layout
.
shicon
)
Layout
.
shicon
.
remove
();
}
catch
(
error
)
{}
}
catch
(
error
)
{}
}
}
//if ( _buffer[ 0 ].getData( "expand" ) !== false )
_buffer
=
_buffer
.
concat
(
_buffer
[
0
].
getChildren
()
);
_buffer
=
_buffer
.
concat
(
_buffer
[
0
].
getChildren
()
);
_buffer
.
shift
();
_buffer
.
shift
();
}
}
if
(
isExpand
)
{
if
(
isExpand
)
{
node
.
clearChildren
();
node
.
clearChildren
();
for
(
var
j
=
0
;
j
<
_cleanbuffer
.
length
;
j
++
)
{
for
(
var
j
=
0
;
j
<
_cleanbuffer
.
length
;
j
++
)
{
//if ( _cleanbuffer[ j ].getData( "expand" ) !== false )
_cleanbuffer
[
j
].
clearChildren
();
_cleanbuffer
[
j
].
clearChildren
();
minder
.
appendChildNode
(
_cleanbuffer
[
j
].
getLayout
().
parent
,
_cleanbuffer
[
j
]
);
minder
.
appendChildNode
(
_cleanbuffer
[
j
].
getLayout
().
parent
,
_cleanbuffer
[
j
]
);
}
}
...
@@ -4537,6 +4539,7 @@ Minder.Receiver = kity.createClass('Receiver',{
...
@@ -4537,6 +4539,7 @@ Minder.Receiver = kity.createClass('Receiver',{
case
keys
.
Tab
:
case
keys
.
Tab
:
this
.
selection
.
setHide
();
this
.
selection
.
setHide
();
this
.
clear
().
setTextEditStatus
(
false
);
this
.
clear
().
setTextEditStatus
(
false
);
this
.
km
.
fire
(
'contentchange'
);
this
.
km
.
setStatus
(
'normal'
);
this
.
km
.
setStatus
(
'normal'
);
e
.
preventDefault
();
e
.
preventDefault
();
break
;
break
;
...
@@ -7287,6 +7290,9 @@ KM.registerToolbarUI( 'switchlayout', function ( name ) {
...
@@ -7287,6 +7290,9 @@ KM.registerToolbarUI( 'switchlayout', function ( name ) {
return
null
;
return
null
;
}
}
utils
.
each
(
options
.
items
,
function
(
i
,
item
){
options
.
items
[
i
]
=
me
.
getLang
(
'layout'
)[
item
];
});
//实例化
//实例化
$combox
=
$
.
kmuibuttoncombobox
(
options
).
css
(
'zIndex'
,
me
.
getOptions
(
'zIndex'
)
+
1
);
$combox
=
$
.
kmuibuttoncombobox
(
options
).
css
(
'zIndex'
,
me
.
getOptions
(
'zIndex'
)
+
1
);
comboboxWidget
=
$combox
.
kmui
();
comboboxWidget
=
$combox
.
kmui
();
...
@@ -7470,12 +7476,11 @@ KM.registerUI( 'contextmenu', function () {
...
@@ -7470,12 +7476,11 @@ KM.registerUI( 'contextmenu', function () {
KM
.
registerToolbarUI
(
'markers'
,
function
(
name
)
{
KM
.
registerToolbarUI
(
'markers
help
'
,
function
(
name
)
{
var
me
=
this
,
var
me
=
this
,
currentRange
,
$dialog
,
currentRange
,
$dialog
,
opt
=
{
opt
=
{
width
:
200
,
title
:
this
.
getLang
(
'tooltips'
)[
name
]
||
''
,
title
:
this
.
getLang
(
'tooltips'
)[
name
]
||
''
,
url
:
me
.
getOptions
(
'KITYMINDER_HOME_URL'
)
+
'dialogs/'
+
name
+
'/'
+
name
+
'.js'
,
url
:
me
.
getOptions
(
'KITYMINDER_HOME_URL'
)
+
'dialogs/'
+
name
+
'/'
+
name
+
'.js'
,
};
};
...
...
dist/kityminder.all.min.js
View file @
7105d0f2
This source diff could not be displayed because it is too large. You can
view the blob
instead.
themes/default/css/dialog.css
View file @
7105d0f2
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
max-height
:
400px
;
max-height
:
400px
;
font-size
:
12px
;
font-size
:
12px
;
overflow-y
:
auto
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
}
}
.kmui-modal-footer
{
.kmui-modal-footer
{
float
:
right
;
float
:
right
;
...
...
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