Permalink
Browse files

removed radio buttons from scripts panel enabler

  • Loading branch information...
1 parent a37a27f commit 43888d774188cbc1019dfe52d989d7241a58125b @dannycoates dannycoates committed Jul 22, 2010
Showing with 14 additions and 1 deletion.
  1. +1 −0 front-end/index.html
  2. +1 −1 front-end/node/InspectorFrontendHostStub.js
  3. +12 −0 front-end/node/Overrides.js
View
@@ -133,6 +133,7 @@
<script type="text/javascript" src="ShortcutsHelp.js"></script>
<script type="text/javascript" src="HAREntry.js"></script>
<script type="text/javascript" src="node/InspectorController.js"></script>
+ <script type="text/javascript" src="node/Overrides.js"></script>
</head>
<body class="detached">
<div id="toolbar">
@@ -102,7 +102,7 @@ WebInspector.InspectorFrontendHostStub.prototype = {
WebInspector.applicationSettings.installSetting("scriptsSidebarWidth", "scripts-sidebar-width", 250);
WebInspector.applicationSettings.installSetting("consoleSidebarWidth", "console-sidebar-width", 250);
WebInspector.showScriptsPanel();
- WebInspector.panels.scripts._pauseOnExceptionButton.disabled = true;
+ WebInspector.panels.scripts._pauseOnExceptionButton.element.style.display = 'none';
WebInspector.panels.scripts._enableDebugging();
},
@@ -0,0 +1,12 @@
+(function() {
+ window.addEventListener("load", function() {
+ //var box = document.createElement('input');
+ var panel = WebInspector.panels.scripts.panelEnablerView;
+ panel.disclaimerElement.style.display = 'none';
+ panel.enabledForSession.parentNode.style.display = 'none';
+ panel.enabledAlways.parentNode.style.display = 'none';
+ panel.enableButton.addEventListener("click", function() {
+ console.log('blah');
+ }, false);
+ }, false);
+}())

0 comments on commit 43888d7

Please sign in to comment.