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

Unified Diff: appengine/config_service/ui/src/config-ui/config-set.html

Issue 2987453002: config_service: fix testing (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | appengine/config_service/ui/src/config-ui/front-page.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/config_service/ui/src/config-ui/config-set.html
diff --git a/appengine/config_service/ui/src/config-ui/config-set.html b/appengine/config_service/ui/src/config-ui/config-set.html
index ab6bb3c5657e4b0e25e412e6c0bb468240745ca6..ab1dd4c2126a09878b02c5340009c5ffdc7b40ed 100644
--- a/appengine/config_service/ui/src/config-ui/config-set.html
+++ b/appengine/config_service/ui/src/config-ui/config-set.html
@@ -230,6 +230,7 @@
_onCompleteRefresh: function() {
this.isRefreshing = false;
this.refreshMessage = "Refresh successful.";
+ this.fire('refreshComplete');
},
_not: function(b) {
@@ -242,11 +243,13 @@
this.lastImportAttempt =
event.detail.response.config_sets[0].last_import_attempt || null;
this.isLoading = false;
+ this.fire('processedConfigFiles');
},
_onRefreshError: function() {
this.isRefreshing = false;
this.refreshMessage = "Error: Files could not be refreshed.";
+ this.fire('refreshError');
}
});
</script>
« no previous file with comments | « no previous file | appengine/config_service/ui/src/config-ui/front-page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698