| Index: remoting/webapp/crd/js/host_list_api_impl.js
|
| diff --git a/remoting/webapp/crd/js/host_list_api_impl.js b/remoting/webapp/crd/js/host_list_api_impl.js
|
| index bf5e25c8dbd3a27c7153e4939510ec97280d2018..a4dbe085bf0ef84022aee35ed1f86a5e5e99d44c 100644
|
| --- a/remoting/webapp/crd/js/host_list_api_impl.js
|
| +++ b/remoting/webapp/crd/js/host_list_api_impl.js
|
| @@ -118,15 +118,17 @@ remoting.HostListApiImpl.prototype.parseHostListResponse_ =
|
| var hosts = items.map(
|
| function(/** Object */ item) {
|
| var host = new remoting.Host();
|
| - host.hostName = getStringAttr(item, 'hostName', '');
|
| - host.hostId = getStringAttr(item, 'hostId', '');
|
| - host.status = getStringAttr(item, 'status', '');
|
| - host.jabberId = getStringAttr(item, 'jabberId', '');
|
| - host.publicKey = getStringAttr(item, 'publicKey', '');
|
| - host.hostVersion = getStringAttr(item, 'hostVersion', '');
|
| - host.tokenUrlPatterns = getArrayAttr(item, 'tokenUrlPatterns', []);
|
| - host.updatedTime = getStringAttr(item, 'updatedTime', '');
|
| - host.hostOfflineReason = getStringAttr(item, 'hostOfflineReason', '');
|
| + host.hostName = base.getStringAttr(item, 'hostName', '');
|
| + host.hostId = base.getStringAttr(item, 'hostId', '');
|
| + host.status = base.getStringAttr(item, 'status', '');
|
| + host.jabberId = base.getStringAttr(item, 'jabberId', '');
|
| + host.publicKey = base.getStringAttr(item, 'publicKey', '');
|
| + host.hostVersion = base.getStringAttr(item, 'hostVersion', '');
|
| + host.tokenUrlPatterns =
|
| + base.getArrayAttr(item, 'tokenUrlPatterns', []);
|
| + host.updatedTime = base.getStringAttr(item, 'updatedTime', '');
|
| + host.hostOfflineReason =
|
| + base.getStringAttr(item, 'hostOfflineReason', '');
|
| return host;
|
| });
|
| onDone(hosts);
|
|
|