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
a1b0a2a9
Commit
a1b0a2a9
authored
Jan 11, 2017
by
Maxim Kadushkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE mobile] debug 'add function' option
parent
bf10598c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
32 deletions
+44
-32
apps/spreadsheeteditor/mobile/app/controller/add/AddContainer.js
...readsheeteditor/mobile/app/controller/add/AddContainer.js
+4
-2
apps/spreadsheeteditor/mobile/app/template/AddFunction.template
...preadsheeteditor/mobile/app/template/AddFunction.template
+32
-30
apps/spreadsheeteditor/mobile/app/view/add/AddFunction.js
apps/spreadsheeteditor/mobile/app/view/add/AddFunction.js
+8
-0
No files found.
apps/spreadsheeteditor/mobile/app/controller/add/AddContainer.js
View file @
a1b0a2a9
...
@@ -130,12 +130,14 @@ define([
...
@@ -130,12 +130,14 @@ define([
layout
:
SSE
.
getController
(
'
AddChart
'
).
getView
(
'
AddChart
'
).
rootLayout
()
layout
:
SSE
.
getController
(
'
AddChart
'
).
getView
(
'
AddChart
'
).
rootLayout
()
});
});
if
(
!
options
||
options
.
panel
==
'
function
'
)
if
(
!
options
||
options
.
panel
==
'
function
'
)
{
view
=
SSE
.
getController
(
'
AddFunction
'
).
getView
(
'
AddFunction
'
);
addViews
.
push
({
addViews
.
push
({
caption
:
me
.
textFormula
,
caption
:
me
.
textFormula
,
id
:
'
add-formula
'
,
id
:
'
add-formula
'
,
layout
:
SSE
.
getController
(
'
AddFunction
'
).
getView
(
'
AddFunction
'
).
rootLayout
()
layout
:
options
?
view
.
rootLayout
()
:
view
.
layoutPanel
()
});
});
}
if
(
!
options
)
if
(
!
options
)
addViews
.
push
({
addViews
.
push
({
...
...
apps/spreadsheeteditor/mobile/app/template/AddFunction.template
View file @
a1b0a2a9
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
<% if (view == 'root') { %>
<% if (view == 'root') { %>
<div id="add-function-root">
<div id="add-function-root">
<div class="page" data-page="add-function">
<div class="page-content">
<div class="page-content">
<div class="list-block">
<div class="list-block">
<ul>
<ul>
...
@@ -33,7 +34,8 @@
...
@@ -33,7 +34,8 @@
</a>
</a>
</li>
</li>
<% }; %>
<% }; %>
<ul>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
apps/spreadsheeteditor/mobile/app/view/add/AddFunction.js
View file @
a1b0a2a9
...
@@ -137,6 +137,14 @@ define([
...
@@ -137,6 +137,14 @@ define([
return
''
;
return
''
;
},
},
layoutPage
:
function
()
{
return
this
.
layout
?
this
.
layout
.
find
(
'
#add-function-root
'
).
html
()
:
''
;
},
layoutPanel
:
function
()
{
return
this
.
layout
?
this
.
layout
.
find
(
'
#add-function-root .page-content
'
).
html
()
:
''
;
},
initControls
:
function
()
{
initControls
:
function
()
{
//
//
},
},
...
...
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