Title: [186588] trunk/Source/WebInspectorUI
Revision
186588
Author
mattba...@apple.com
Date
2015-07-09 00:35:15 -0700 (Thu, 09 Jul 2015)

Log Message

Web Inspector: new breakpoint action dialog should reuse same action type
https://bugs.webkit.org/show_bug.cgi?id=137255

Reviewed by Brian Burg.

* UserInterface/Views/BreakpointActionView.js:
(WebInspector.BreakpointActionView.prototype._appendActionButtonClicked):
Use the view's action type instead of the default.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (186587 => 186588)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-07-09 07:31:27 UTC (rev 186587)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-07-09 07:35:15 UTC (rev 186588)
@@ -1,3 +1,14 @@
+2015-07-09  Matt Baker  <mattba...@apple.com>
+
+        Web Inspector: new breakpoint action dialog should reuse same action type
+        https://bugs.webkit.org/show_bug.cgi?id=137255
+
+        Reviewed by Brian Burg.
+
+        * UserInterface/Views/BreakpointActionView.js:
+        (WebInspector.BreakpointActionView.prototype._appendActionButtonClicked):
+        Use the view's action type instead of the default.
+
 2015-07-08  Devin Rousso  <drou...@apple.com>
 
         Web Inspector: Copy Rule in the context menu copies hidden properties in the rule

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/BreakpointActionView.js (186587 => 186588)


--- trunk/Source/WebInspectorUI/UserInterface/Views/BreakpointActionView.js	2015-07-09 07:31:27 UTC (rev 186587)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/BreakpointActionView.js	2015-07-09 07:35:15 UTC (rev 186588)
@@ -113,7 +113,7 @@
 
     _appendActionButtonClicked(event)
     {
-        var newAction = this._action.breakpoint.createAction(WebInspector.Breakpoint.DefaultBreakpointActionType, this._action);
+        var newAction = this._action.breakpoint.createAction(this._action.type, this._action);
         this._delegate.breakpointActionViewAppendActionView(this, newAction);
     }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to