Commit beb9ffe3 authored by Alexander Yuzhin's avatar Alexander Yuzhin

Merge branch 'feature/new-mobile' of https://github.com/ONLYOFFICE/web-apps into feature/new-mobile

parents ae634737 878144e5
...@@ -76,7 +76,7 @@ define([ ...@@ -76,7 +76,7 @@ define([
// this.api.isCEditorFocused = false; // this.api.isCEditorFocused = false;
this.api.asc_registerCallback('asc_onSelectionNameChanged', _.bind(this.onApiCellSelection, this)); 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)); // this.api.asc_registerCallback('asc_onCoAuthoringDisconnect', _.bind(this.onApiDisconnect,this));
// Common.NotificationCenter.on('api:disconnect', _.bind(this.onApiDisconnect, this)); // Common.NotificationCenter.on('api:disconnect', _.bind(this.onApiDisconnect, this));
// Common.NotificationCenter.on('cells:range', _.bind(this.onCellsRange, this)); // Common.NotificationCenter.on('cells:range', _.bind(this.onCellsRange, this));
......
...@@ -60,17 +60,15 @@ define([ ...@@ -60,17 +60,15 @@ define([
// Set innerHTML and get the references to the DOM elements // Set innerHTML and get the references to the DOM elements
initialize: function() { initialize: function() {
// Common.NotificationCenter.on('document:ready', function () {
this.$el.append(this.template());
}.bind(this));
}, },
// Render layout // Render layout
render: function() { render: function() {
var el = $(this.el); var el = $(this.el);
el.append(this.template({
//
}));
// this.f7View = uiApp.addView('.view-main', { // this.f7View = uiApp.addView('.view-main', {
// // params // // params
// }); // });
...@@ -121,8 +119,7 @@ define([ ...@@ -121,8 +119,7 @@ define([
hideMenu: function () { hideMenu: function () {
$('#' + _anchorId) $('#' + _anchorId)
.css('left', -1000) .css({'left': -1000, 'top': -1000});
.css('top', -1000);
uiApp.closeModal('.document-menu.modal-in'); 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