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
6c6f8514
Commit
6c6f8514
authored
Feb 18, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
draggable
parent
a84f986f
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
1 deletion
+15
-1
dev.php
dist/dev.php
+1
-0
jquery-ui-1.10.4.custom.min.js
src/ui/jquery-ui-1.10.4.custom.min.js
+6
-0
modal.js
src/ui/modal.js
+7
-1
dialog.css
themes/default/_css/dialog.css
+1
-0
No files found.
dist/dev.php
View file @
6c6f8514
...
@@ -36,6 +36,7 @@ $dependency = Array(
...
@@ -36,6 +36,7 @@ $dependency = Array(
,
'src/module/basestyle.js'
,
'src/module/basestyle.js'
,
'src/module/font.js'
,
'src/module/font.js'
,
'src/module/zoom.js'
,
'src/module/zoom.js'
,
'src/ui/jquery-ui-1.10.4.custom.min.js'
,
'src/ui/widget.js'
,
'src/ui/widget.js'
,
'src/ui/button.js'
,
'src/ui/button.js'
,
'src/ui/toolbar.js'
,
'src/ui/toolbar.js'
...
...
src/ui/jquery-ui-1.10.4.custom.min.js
0 → 100755
View file @
6c6f8514
This diff is collapsed.
Click to expand it.
src/ui/modal.js
View file @
6c6f8514
...
@@ -43,6 +43,10 @@ KM.ui.define( 'modal', {
...
@@ -43,6 +43,10 @@ KM.ui.define( 'modal', {
$
(
'[data-hide="modal"],[data-ok="modal"]'
,
me
.
root
()
).
hover
(
function
()
{
$
(
'[data-hide="modal"],[data-ok="modal"]'
,
me
.
root
()
).
hover
(
function
()
{
$
(
this
).
toggleClass
(
'kmui-hover'
)
$
(
this
).
toggleClass
(
'kmui-hover'
)
}
);
}
);
setTimeout
(
function
()
{
$
(
'.kmui-modal'
).
draggable
({
handle
:
'.kmui-modal-header'
});
},
100
);
},
},
toggle
:
function
()
{
toggle
:
function
()
{
var
me
=
this
;
var
me
=
this
;
...
@@ -65,7 +69,9 @@ KM.ui.define( 'modal', {
...
@@ -65,7 +69,9 @@ KM.ui.define( 'modal', {
.
show
()
.
show
()
.
focus
()
.
focus
()
.
trigger
(
'aftershow'
);
.
trigger
(
'aftershow'
);
}
)
}
);
$
(
'.kmui-modal'
).
draggable
({
handle
:
'.kmui-modal-header'
});
},
},
showTip
:
function
(
text
)
{
showTip
:
function
(
text
)
{
$
(
'.kmui-modal-tip'
,
this
.
root
()
).
html
(
text
).
fadeIn
();
$
(
'.kmui-modal-tip'
,
this
.
root
()
).
html
(
text
).
fadeIn
();
...
...
themes/default/_css/dialog.css
View file @
6c6f8514
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
.kmui-modal-header
{
.kmui-modal-header
{
padding
:
5px
10px
;
padding
:
5px
10px
;
border-bottom
:
1px
solid
#eee
;
border-bottom
:
1px
solid
#eee
;
cursor
:
move
;
}
}
.kmui-modal-header
.kmui-close
{
.kmui-modal-header
.kmui-close
{
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