Browse Source

disabling the buttons when the editor view is loaded

pull/479/head
Arthur Almeida 8 years ago
parent
commit
8a825f720b
  1. 1
      src/editor/view/EditorView.js

1
src/editor/view/EditorView.js

@ -9,6 +9,7 @@ module.exports = Backbone.View.extend({
this.pn = model.get('Panels');
model.on('loaded', () => {
this.pn.active();
this.pn.disableButtons();
model.runDefault();
setTimeout(() => model.trigger('load'), 0);
});

Loading…
Cancel
Save