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

Unified Diff: chrome/browser/resources/feedback/js/feedback.js

Issue 1780553002: Fix Starting the feedback app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « chrome/browser/resources/feedback/js/event_handler.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/feedback/js/feedback.js
diff --git a/chrome/browser/resources/feedback/js/feedback.js b/chrome/browser/resources/feedback/js/feedback.js
index e6db735affc4c9f991edc65f2c216433fe2eea8a..8d8d32c5142fa761ce5d566757c90001293b3b9d 100644
--- a/chrome/browser/resources/feedback/js/feedback.js
+++ b/chrome/browser/resources/feedback/js/feedback.js
@@ -259,8 +259,6 @@ function onSystemInformation(sysInfo) {
sysInfoPageOnSysInfoReadyCallback(feedbackInfo.systemInformation);
sysInfoPageOnSysInfoReadyCallback = null;
}
-
- setOnSystemInfoReadyCallback(null);
}
/**
@@ -302,12 +300,9 @@ function initialize() {
$('user-email-text').value = email;
});
- // Prepare the full system information if available or do this later once
- // it becomes available.
- if (isSystemInfoReady())
- onSystemInformation(getSystemInformation());
- else
- setOnSystemInfoReadyCallback(onSystemInformation);
+ // Initiate getting the system info and use it to prepare the full
+ // feedback info.
+ getSystemInformation(onSystemInformation);
// An extension called us with an attached file.
if (feedbackInfo.attachedFile) {
« no previous file with comments | « chrome/browser/resources/feedback/js/event_handler.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698