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
aad520a2
Commit
aad520a2
authored
Nov 25, 2016
by
Maxim Kadushkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE mobile] added controller for CellEditor
parent
12415ccb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
apps/spreadsheeteditor/mobile/app-dev.js
apps/spreadsheeteditor/mobile/app-dev.js
+2
-0
apps/spreadsheeteditor/mobile/app/controller/Main.js
apps/spreadsheeteditor/mobile/app/controller/Main.js
+0
-10
No files found.
apps/spreadsheeteditor/mobile/app-dev.js
View file @
aad520a2
...
...
@@ -118,6 +118,7 @@ require([
'
Toolbar
'
,
'
Main
'
,
'
DocumentHolder
'
,
'
CellEditor
'
// ,'Settings'
// ,'EditContainer'
// ,'EditText'
...
...
@@ -182,6 +183,7 @@ require([
'
spreadsheeteditor/mobile/app/controller/Toolbar
'
,
'
spreadsheeteditor/mobile/app/controller/Main
'
,
'
spreadsheeteditor/mobile/app/controller/DocumentHolder
'
,
'
spreadsheeteditor/mobile/app/controller/CellEditor
'
// ,'documenteditor/mobile/app/controller/Settings'
// ,'documenteditor/mobile/app/controller/edit/EditContainer'
// ,'documenteditor/mobile/app/controller/edit/EditText'
...
...
apps/spreadsheeteditor/mobile/app/controller/Main.js
View file @
aad520a2
...
...
@@ -115,7 +115,6 @@ define([
me
.
api
.
asc_registerCallback
(
'
asc_onPrintUrl
'
,
_
.
bind
(
me
.
onPrintUrl
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentName
'
,
_
.
bind
(
me
.
onDocumentName
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onEndAction
'
,
_
.
bind
(
me
.
onLongActionEnd
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onSelectionNameChanged
'
,
_
.
bind
(
me
.
onApiCellSelection
,
me
));
/**/
// this.api.asc_registerCallback('asc_onCoAuthoringDisconnect', _.bind(this.onCoAuthoringDisconnect, this));
// this.api.asc_registerCallback('asc_onPrintUrl', _.bind(this.onPrintUrl, this));
...
...
@@ -314,15 +313,6 @@ define([
// }
},
onApiCellSelection
:
function
(
info
)
{
if
(
info
)
{
if
(
!
this
.
$cellname
)
this
.
$cellname
=
$
(
'
#ce-cell-name
'
);
this
.
$cellname
.
html
(
typeof
(
info
)
==
'
string
'
?
info
:
info
.
asc_getName
());
}
},
onLongActionBegin
:
function
(
type
,
id
)
{
var
action
=
{
id
:
id
,
type
:
type
};
this
.
stackLongActions
.
push
(
action
);
...
...
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