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

Unified Diff: chrome/browser/resources/bug_report.html

Issue 5514001: Crash fix + OS specific ss's enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved TODO to the h file from the cc file. Created 10 years 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 | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/views/browser_dialogs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/bug_report.html
diff --git a/chrome/browser/resources/bug_report.html b/chrome/browser/resources/bug_report.html
index 3d3d058f51b084784787be1701382c4aea8fd688..4b45cee8ae04f92e8ff93cba8e7eb81a0b1c3c65 100644
--- a/chrome/browser/resources/bug_report.html
+++ b/chrome/browser/resources/bug_report.html
@@ -19,9 +19,11 @@
* Window onload handler, sets up the page.
*/
function load() {
- $('sysinfo-url').onclick = function(event) {
- chrome.send('openSystemTab');
- };
+ if ($('sysinfo-url')) {
+ $('sysinfo-url').onclick = function(event) {
+ chrome.send('openSystemTab');
+ };
+ }
var menuOffPattern = /(^\?|&)menu=off($|&)/;
var menuDisabled = menuOffPattern.test(window.location.search);
@@ -181,10 +183,10 @@ window.addEventListener('DOMContentLoaded', load);
</table>
</td>
</tr>
+<if expr="pp_ifdef('chromeos')">
<!-- User e-mail -->
<tr>
<td>
-<if expr="pp_ifdef('chromeos')">
<table id="user-email-table" class="bug-report-table">
<tr>
<td class="bug-report-fieldlabel">
@@ -199,7 +201,6 @@ window.addEventListener('DOMContentLoaded', load);
</td>
</tr>
</table>
-</if>
</td>
</tr>
<!-- System Information -->
@@ -219,6 +220,7 @@ window.addEventListener('DOMContentLoaded', load);
</table>
</td>
</tr>
+</if>
<!-- Screenshot -->
<tr>
<td>
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/views/browser_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698