mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: revert button on all colors in a new color scheme
This commit is contained in:
parent
4980cff802
commit
eb7aab3e0b
3 changed files with 4 additions and 3 deletions
|
@ -27,7 +27,7 @@ Discourse.ColorScheme = Discourse.Model.extend(Ember.Copyable, {
|
|||
copy: function() {
|
||||
var newScheme = Discourse.ColorScheme.create({name: this.get('name'), enabled: false, can_edit: true, colors: Em.A()});
|
||||
_.each(this.get('colors'), function(c){
|
||||
newScheme.colors.pushObject(Discourse.ColorSchemeColor.create({name: c.get('name'), hex: c.get('hex')}));
|
||||
newScheme.colors.pushObject(Discourse.ColorSchemeColor.create({name: c.get('name'), hex: c.get('hex'), default_hex: c.get('default_hex')}));
|
||||
});
|
||||
return newScheme;
|
||||
},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@import "common";
|
||||
|
||||
/* @import "desktop/*"; I don't know why this doesn't work. */
|
||||
/* @import "desktop/*"; TODO: get this working again */
|
||||
|
||||
@import "desktop/compose";
|
||||
@import "desktop/discourse";
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
@import "common";
|
||||
/* @import "mobile/*"; I don't know why this doesn't work */
|
||||
|
||||
/* @import "mobile/*"; TODO: get this working again */
|
||||
|
||||
@import "mobile/compose";
|
||||
@import "mobile/discourse";
|
||||
|
|
Loading…
Reference in a new issue