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

Unified Diff: remoting/webapp/host_list.js

Issue 9903008: Added first-run infographic screens for IT2Me and Me2Me. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: remoting/webapp/host_list.js
diff --git a/remoting/webapp/host_list.js b/remoting/webapp/host_list.js
index c7df0bbbb5ccbbd963522db6b59b7ada7490fb95..2362d051fba25e29710b80abca52b329519f18f7 100644
--- a/remoting/webapp/host_list.js
+++ b/remoting/webapp/host_list.js
@@ -200,20 +200,6 @@ remoting.HostList.prototype.display = function() {
l10n.localizeElementFromTag(this.errorDiv_, this.lastError_);
}
this.errorDiv_.hidden = (this.lastError_ == '');
-
- this.showOrHide_(this.hosts_.length != 0 || this.lastError_ != '');
-};
-
-/**
- * Show or hide the host-list UI.
Jamie 2012/03/29 01:38:13 This method was used to hide the Me2Me section if
- *
- * @param {boolean} show True to show the UI, or false to hide it.
- * @return {void} Nothing.
- * @private
- */
-remoting.HostList.prototype.showOrHide_ = function(show) {
- var parent = /** @type {Element} */ (this.table_.parentNode);
- parent.hidden = !show;
};
/**
@@ -238,8 +224,6 @@ remoting.HostList.prototype.deleteHost_ = function(hostTableEntry) {
function() {}, '', headers);
}
remoting.oauth2.callWithToken(deleteHost);
-
- this.showOrHide_(this.hostTableEntries_.length != 0);
};
/**

Powered by Google App Engine
This is Rietveld 408576698