Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
ef65270e
Commit
ef65270e
authored
Mar 14, 2017
by
Alexander Yuzhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DE mobile] Fix bug 33945
parent
0e769a52
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
54 deletions
+56
-54
apps/documenteditor/mobile/app/controller/add/AddTable.js
apps/documenteditor/mobile/app/controller/add/AddTable.js
+56
-54
No files found.
apps/documenteditor/mobile/app/controller/add/AddTable.js
View file @
ef65270e
...
...
@@ -92,11 +92,11 @@ define([
me
.
api
.
asc_GetDefaultTableStyles
();
}
$
(
'
#add-table li
'
).
single
(
'
click
'
,
_
.
buffered
(
this
.
onStyleClick
,
3
00
,
this
));
$
(
'
#add-table li
'
).
single
(
'
click
'
,
_
.
buffered
(
this
.
onStyleClick
,
1
00
,
this
));
},
onViewRender
:
function
()
{
$
(
'
#add-table li
'
).
single
(
'
click
'
,
_
.
buffered
(
this
.
onStyleClick
,
3
00
,
this
));
$
(
'
#add-table li
'
).
single
(
'
click
'
,
_
.
buffered
(
this
.
onStyleClick
,
1
00
,
this
));
},
onStyleClick
:
function
(
e
)
{
...
...
@@ -104,9 +104,12 @@ define([
$target
=
$
(
e
.
currentTarget
),
type
=
$target
.
data
(
'
type
'
);
if
(
$
(
'
.modal.modal-in
'
).
length
>
0
)
{
return
}
DE
.
getController
(
'
AddContainer
'
).
hideModal
();
_
.
delay
(
function
()
{
if
(
$target
)
{
var
picker
;
var
modal
=
uiApp
.
modal
({
...
...
@@ -161,7 +164,6 @@ define([
marginTop
:
-
Math
.
round
(
$$
(
modal
).
outerHeight
()
/
2
)
+
'
px
'
});
}
},
300
);
},
// Public
...
...
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