|
|
|
@ -2,7 +2,7 @@ const $ = Backbone.$; |
|
|
|
|
|
|
|
module.exports = Backbone.View.extend({ |
|
|
|
initialize() { |
|
|
|
const model = this.model; |
|
|
|
const { model } = this; |
|
|
|
model.view = this; |
|
|
|
this.conf = model.config; |
|
|
|
this.pn = model.get('Panels'); |
|
|
|
@ -10,7 +10,7 @@ module.exports = Backbone.View.extend({ |
|
|
|
this.pn.active(); |
|
|
|
this.pn.disableButtons(); |
|
|
|
model.runDefault(); |
|
|
|
setTimeout(() => model.trigger('load'), 0); |
|
|
|
setTimeout(() => model.trigger('load', model.get('Editor'))); |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
|