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
b7b2eea3
Commit
b7b2eea3
authored
Nov 22, 2016
by
Alexander Yuzhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DE mobile] Apply table style on add.
parent
4ea3b3dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
apps/documenteditor/mobile/app/controller/add/AddTable.js
apps/documenteditor/mobile/app/controller/add/AddTable.js
+7
-2
No files found.
apps/documenteditor/mobile/app/controller/add/AddTable.js
View file @
b7b2eea3
...
@@ -84,7 +84,8 @@ define([
...
@@ -84,7 +84,8 @@ define([
onStyleClick
:
function
(
e
)
{
onStyleClick
:
function
(
e
)
{
var
me
=
this
,
var
me
=
this
,
$target
=
$
(
e
.
currentTarget
);
$target
=
$
(
e
.
currentTarget
),
type
=
$target
.
data
(
'
type
'
);
DE
.
getController
(
'
AddContainer
'
).
hideModal
();
DE
.
getController
(
'
AddContainer
'
).
hideModal
();
...
@@ -114,7 +115,11 @@ define([
...
@@ -114,7 +115,11 @@ define([
if
(
me
.
api
)
{
if
(
me
.
api
)
{
me
.
api
.
put_Table
(
parseInt
(
size
[
0
]),
parseInt
(
size
[
1
]));
me
.
api
.
put_Table
(
parseInt
(
size
[
0
]),
parseInt
(
size
[
1
]));
//TODO: Style ?
var
properties
=
new
Asc
.
CTableProp
();
properties
.
put_TableStyle
(
type
);
me
.
api
.
tblApply
(
properties
);
}
}
}
}
}
}
...
...
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