web-apps/apps/presentationeditor/mobile/app/controller/tablet/Main.js
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -03:00

39 lines
731 B
JavaScript

Ext.define('PE.controller.tablet.Main', {
extend: 'PE.controller.Main',
requires: [
'Ext.Anim'
],
config: {
refs: {
viewToolbar : 'viewtoolbar'
},
control: {
}
},
launch: function() {
this.callParent(arguments);
},
initControl: function() {
this.callParent(arguments);
},
initApi: function() {
this.callParent(arguments);
},
setApi: function(o){
this.api = o;
var viewToolbar = this.getViewToolbar();
viewToolbar && viewToolbar.show();
this.api && this.api.asc_enableKeyEvents(false);
},
setPresentationName: function(name){
}
});