Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1590)

Unified Diff: Source/devtools/front_end/elements/StylesSidebarPane.js

Issue 1221663002: DevTools: [SSP] force StylesSidebarPane refresh on undo/redo command happens. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/elements/ElementsPanel.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/elements/StylesSidebarPane.js
diff --git a/Source/devtools/front_end/elements/StylesSidebarPane.js b/Source/devtools/front_end/elements/StylesSidebarPane.js
index 399e2f26eaf3647828737e1ef580a0ccca050ed6..fc59bd7afdf624e6de940db87b36c94a0e14d1f8 100644
--- a/Source/devtools/front_end/elements/StylesSidebarPane.js
+++ b/Source/devtools/front_end/elements/StylesSidebarPane.js
@@ -137,6 +137,11 @@ WebInspector.StylesSidebarPane.ignoreErrorsForProperty = function(property) {
}
WebInspector.StylesSidebarPane.prototype = {
+ onUndoOrRedoHappened: function()
+ {
+ this.setNode(this.node());
+ },
+
/**
* @param {!WebInspector.Event} event
*/
« no previous file with comments | « Source/devtools/front_end/elements/ElementsPanel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698