Sha256: e4bb3927851636cff073fdbfbf4a85f9a9eae0732308edea9b79dedd3edea8e7
Contents?: true
Size: 662 Bytes
Versions: 46
Compression:
Stored size: 662 Bytes
Contents
pageflow.ThemeInputView = pageflow.ReferenceInputView.extend({ options: function() { return { chooseButtonTitle: I18n.t('pageflow.editor.views.inputs.theme_input_view.choose'), hideUnsetButton: true }; }, choose: function() { return pageflow.ChangeThemeDialogView.changeTheme({ model: this.model, themes: this.options.themes, themeInUse: this.model.get(this.options.propertyName) }); }, chooseValue: function() { return this.choose().then(function(model) { return model.get('name'); }); }, getTarget: function(themeName) { return this.options.themes.findByName(themeName); } });
Version data entries
46 entries across 46 versions & 1 rubygems