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
6ed79dec
Commit
6ed79dec
authored
Dec 01, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PE mobile] Fixed display default table styles.
parent
3ea69c7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
apps/presentationeditor/mobile/app/controller/add/AddTable.js
.../presentationeditor/mobile/app/controller/add/AddTable.js
+7
-3
apps/presentationeditor/mobile/app/controller/edit/EditContainer.js
...ntationeditor/mobile/app/controller/edit/EditContainer.js
+1
-1
No files found.
apps/presentationeditor/mobile/app/controller/add/AddTable.js
View file @
6ed79dec
...
...
@@ -48,7 +48,8 @@ define([
'
use strict
'
;
PE
.
Controllers
.
AddTable
=
Backbone
.
Controller
.
extend
(
_
.
extend
((
function
()
{
var
_styles
=
[];
var
_styles
=
[],
_initDefaultStyles
=
false
;
return
{
models
:
[],
...
...
@@ -75,8 +76,11 @@ define([
initEvents
:
function
()
{
var
me
=
this
;
if
(
_styles
.
length
<
1
)
{
me
.
api
.
asc_GetDefaultTableStyles
();
if
(
!
_initDefaultStyles
)
{
_initDefaultStyles
=
true
;
_styles
=
[];
me
.
api
.
asc_GetDefaultTableStyles
&&
me
.
api
.
asc_GetDefaultTableStyles
();
}
$
(
'
#add-table li
'
).
single
(
'
click
'
,
_
.
buffered
(
me
.
onStyleClick
,
100
,
me
));
...
...
apps/presentationeditor/mobile/app/controller/edit/EditContainer.js
View file @
6ed79dec
...
...
@@ -194,7 +194,7 @@ define([
$layoutNavbar
.
find
(
'
.center
'
)
.
removeClass
(
'
categories
'
)
.
html
(
layoutEditors
[
0
].
caption
);
.
html
(
layoutEditors
.
length
>
0
?
layoutEditors
[
0
].
caption
:
''
);
}
else
{
if
(
isAndroid
)
{
$layoutNavbar
...
...
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