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
878144e5
Commit
878144e5
authored
Dec 26, 2016
by
Maxim Kadushkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE mobile] added context menu for cell
parent
6b12e7e0
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
152 additions
and
126 deletions
+152
-126
apps/spreadsheeteditor/mobile/app/controller/CellEditor.js
apps/spreadsheeteditor/mobile/app/controller/CellEditor.js
+1
-1
apps/spreadsheeteditor/mobile/app/controller/DocumentHolder.js
...spreadsheeteditor/mobile/app/controller/DocumentHolder.js
+147
-118
apps/spreadsheeteditor/mobile/app/view/DocumentHolder.js
apps/spreadsheeteditor/mobile/app/view/DocumentHolder.js
+4
-7
No files found.
apps/spreadsheeteditor/mobile/app/controller/CellEditor.js
View file @
878144e5
...
...
@@ -76,7 +76,7 @@ define([
// this.api.isCEditorFocused = false;
this
.
api
.
asc_registerCallback
(
'
asc_onSelectionNameChanged
'
,
_
.
bind
(
this
.
onApiCellSelection
,
this
));
//
this.api.asc_registerCallback('asc_onEditCell', _.bind(this.onApiEditCell, this));
this
.
api
.
asc_registerCallback
(
'
asc_onEditCell
'
,
_
.
bind
(
this
.
onApiEditCell
,
this
));
// this.api.asc_registerCallback('asc_onCoAuthoringDisconnect', _.bind(this.onApiDisconnect,this));
// Common.NotificationCenter.on('api:disconnect', _.bind(this.onApiDisconnect, this));
// Common.NotificationCenter.on('cells:range', _.bind(this.onCellsRange, this));
...
...
apps/spreadsheeteditor/mobile/app/controller/DocumentHolder.js
View file @
878144e5
This diff is collapsed.
Click to expand it.
apps/spreadsheeteditor/mobile/app/view/DocumentHolder.js
View file @
878144e5
...
...
@@ -60,17 +60,15 @@ define([
// Set innerHTML and get the references to the DOM elements
initialize
:
function
()
{
//
Common
.
NotificationCenter
.
on
(
'
document:ready
'
,
function
()
{
this
.
$el
.
append
(
this
.
template
());
}.
bind
(
this
));
},
// Render layout
render
:
function
()
{
var
el
=
$
(
this
.
el
);
el
.
append
(
this
.
template
({
//
}));
// this.f7View = uiApp.addView('.view-main', {
// // params
// });
...
...
@@ -121,8 +119,7 @@ define([
hideMenu
:
function
()
{
$
(
'
#
'
+
_anchorId
)
.
css
(
'
left
'
,
-
1000
)
.
css
(
'
top
'
,
-
1000
);
.
css
({
'
left
'
:
-
1000
,
'
top
'
:
-
1000
});
uiApp
.
closeModal
(
'
.document-menu.modal-in
'
);
}
...
...
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