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

Unified Diff: chrome/browser/resources/apps_debugger/js/items_list.js

Issue 12696006: search box text change in apps_Devtools app. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: comments Created 7 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
Index: chrome/browser/resources/apps_debugger/js/items_list.js
diff --git a/chrome/browser/resources/apps_debugger/js/items_list.js b/chrome/browser/resources/apps_debugger/js/items_list.js
index 8896b7b165027b344cabd3b496e096c7ecf91472..08c35964af9af3a7fcf912cb2b0bf6c05a024c73 100644
--- a/chrome/browser/resources/apps_debugger/js/items_list.js
+++ b/chrome/browser/resources/apps_debugger/js/items_list.js
@@ -434,8 +434,10 @@ cr.define('apps_dev_tool', function() {
* @param {string} id Item ID.
*/
ItemsList.launchApp = function(id) {
- chrome.management.launchApp(id);
- ItemsList.loadItemsInfo();
+ chrome.management.launchApp(id, function() {
+ // There is a delay in generation of background page for the app.
+ setTimeout(ItemsList.loadItemsInfo, 1000);
+ });
};
return {

Powered by Google App Engine
This is Rietveld 408576698