diff --git a/src/commands/view/OpenStyleManager.js b/src/commands/view/OpenStyleManager.js index da42937b4..4cab47f1c 100644 --- a/src/commands/view/OpenStyleManager.js +++ b/src/commands/view/OpenStyleManager.js @@ -24,13 +24,11 @@ define(['StyleManager'], function(StyleManager) { // Class Manager container this.clm = em.get('ClassManager'); if(this.clm){ - /* this.$clm = new this.clm.ClassTagsView({ collection: new this.clm.ClassTags([]), config: this.clm.config, }).render().el; this.$cn2.append(this.$clm); - */ } // Style Manager manager container diff --git a/src/style_manager/view/PropertyView.js b/src/style_manager/view/PropertyView.js index ab6670898..40e6fc25a 100644 --- a/src/style_manager/view/PropertyView.js +++ b/src/style_manager/view/PropertyView.js @@ -47,14 +47,12 @@ define(['backbone', 'text!./../templates/propertyLabel.html'], componentSelected: function(e){ this.selectedComponent = this.target.get('selectedComponent'); if(this.selectedComponent){ - /* var classes = this.selectedComponent.get('classes'); if(classes.length){ var valid = _.filter(classes.models, function(item){ return item.get('active'); }); var ids = _.pluck(valid, 'cid'); var cssBlock = '';//this.sm.get('CssManager').getRule(ids, 'status', 'mediaq'); } - */ //I will rerender it only if the assigned one is different from the actuale value //console.log('property '+this.property+" view: "+this.componentValue+" model: "+ this.model.get('value')); if( !this.sameValue() ){