FEATURE: Import customizations from a JSON file

This commit is contained in:
riking
2015-05-16 19:56:19 -07:00
parent 1e53c179a3
commit 291d9fc65e
11 changed files with 188 additions and 1 deletions

View File

@ -1,3 +1,5 @@
import showModal from 'discourse/lib/show-modal';
/**
This controller supports interface for creating custom CSS skins in Discourse.
@ -21,6 +23,10 @@ export default Ember.ArrayController.extend({
this.set('selectedItem', item);
},
importModal: function() {
showModal('upload-customization');
},
/**
Select a given style