You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ah...@apache.org on 2012/08/15 23:14:09 UTC
[3/20] git commit: VPC UI: Fix IP details when no network is present
VPC UI: Fix IP details when no network is present
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/f8886ce6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/f8886ce6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/f8886ce6
Branch: refs/heads/4.0
Commit: f8886ce61118aecb41ff4dfd23c9a2a0bc6e9e1b
Parents: 94dba7d
Author: Brian Federle <br...@citrix.com>
Authored: Wed Aug 15 10:25:02 2012 -0700
Committer: Alex Huang <al...@citrix.com>
Committed: Wed Aug 15 14:10:35 2012 -0700
----------------------------------------------------------------------
ui/scripts/network.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/f8886ce6/ui/scripts/network.js
----------------------------------------------------------------------
diff --git a/ui/scripts/network.js b/ui/scripts/network.js
index 9d8b97a..65917f6 100644
--- a/ui/scripts/network.js
+++ b/ui/scripts/network.js
@@ -1703,7 +1703,7 @@
args.response.success({
actionFilter: actionFilters.ipAddress,
data: $.extend(ipObj, {
- networkname: network.name
+ networkname: network ? network.name : ''
})
});
},