Commit 878144e5 authored by Maxim Kadushkin's avatar Maxim Kadushkin

[SSE mobile] added context menu for cell

parent 6b12e7e0
......@@ -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));
......
......@@ -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');
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment