You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2012/08/15 19:28:24 UTC

git commit: VPC UI: Fix IP details when no network is present

Updated Branches:
  refs/heads/master 95a60dc8b -> dc07b2e3e


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/dc07b2e3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/dc07b2e3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/dc07b2e3

Branch: refs/heads/master
Commit: dc07b2e3e616d6f945b8e85756c9f3a4f72b2fec
Parents: 95a60dc
Author: Brian Federle <br...@citrix.com>
Authored: Wed Aug 15 10:25:02 2012 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Wed Aug 15 10:28:14 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/dc07b2e3/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 : ''
                         })
                       });
                     },