Sha256: 2079dea47c3c71fe259b47483360ffd58de8dc204d7562cb04a1dda9bedd1c30
Contents?: true
Size: 690 Bytes
Versions: 39
Compression:
Stored size: 690 Bytes
Contents
pageflow.EditWidgetView = Backbone.Marionette.ItemView.extend({ template: 'templates/edit_widget', className: 'edit_widget', events: { 'click a.back': function() { editor.navigate('/meta_data/widgets', {trigger: true}); } }, initialize: function() { this.model.set('editing', true); }, onClose: function() { Backbone.Marionette.ItemView.prototype.onClose.call(this); this.model.set('editing', false); }, onRender: function() { var configurationEditor = this.model.widgetType().createConfigurationEditorView({ model: this.model.configuration, tab: this.options.tab }); this.appendSubview(configurationEditor); } });
Version data entries
39 entries across 39 versions & 1 rubygems