From 83a777effad7b20fc9b1ad925de36a261c50451a Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Mon, 21 May 2012 11:16:26 -0700 Subject: Style sheets - Clear element model style cache after deleting stylesheet --- js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/panels') 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, { handleDeleteAction : { value: function(sheetComponent) { this.stylesController.removeStyleSheet(sheetComponent.source); + this.stylesController._clearCache(); this._dispatchChange(); } }, -- cgit v1.2.3