Web Inspector: Update the New Tab button disabled state after extra domains are activated
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 May 2015 00:25:07 +0000 (00:25 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 May 2015 00:25:07 +0000 (00:25 +0000)
https://bugs.webkit.org/show_bug.cgi?id=145028

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-05-14
Reviewed by Timothy Hatcher.

* UserInterface/Base/Main.js:
(WebInspector.activateExtraDomains):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@184364 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Base/Main.js

index 08fea07..0e0a61e 100644 (file)
@@ -1,3 +1,13 @@
+2015-05-14  Joseph Pecoraro  <pecoraro@apple.com>
+
+        Web Inspector: Update the New Tab button disabled state after extra domains are activated
+        https://bugs.webkit.org/show_bug.cgi?id=145028
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Base/Main.js:
+        (WebInspector.activateExtraDomains):
+
 2015-05-14  Matt Baker  <mattbaker@apple.com>
 
         Web Inspector: Current time marker is always at zero in Rendering Frames ruler
index e893efd..6561d21 100644 (file)
@@ -512,6 +512,8 @@ WebInspector.activateExtraDomains = function(domains)
     }
 
     this._pendingOpenTabTypes = stillPendingOpenTabTypes;
+
+    this._updateNewTabButtonState();
 };
 
 WebInspector.contentBrowserTreeElementForRepresentedObject = function(contentBrowser, representedObject)