aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
authorEric Guzman2012-05-21 11:16:26 -0700
committerEric Guzman2012-05-21 11:16:26 -0700
commit83a777effad7b20fc9b1ad925de36a261c50451a (patch)
treec1dc88df617dae485aec537f5526cdcb8670be01 /js/panels
parent9b396f3f4ff51efcabcf218f11f7ead2e85469d2 (diff)
downloadninja-83a777effad7b20fc9b1ad925de36a261c50451a.tar.gz
Style sheets - Clear element model style cache after deleting stylesheet
Diffstat (limited to 'js/panels')
-rw-r--r--js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js b/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js
index 28b094a7..11b1d19c 100644
--- a/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js
+++ b/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js
@@ -103,6 +103,7 @@ exports.StyleSheetsView = Montage.create(Component, {
103 handleDeleteAction : { 103 handleDeleteAction : {
104 value: function(sheetComponent) { 104 value: function(sheetComponent) {
105 this.stylesController.removeStyleSheet(sheetComponent.source); 105 this.stylesController.removeStyleSheet(sheetComponent.source);
106 this.stylesController._clearCache();
106 this._dispatchChange(); 107 this._dispatchChange();
107 } 108 }
108 }, 109 },