cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtutkow...@apache.org
Subject [15/50] git commit: updated refs/heads/sf-plugins to 157efc3
Date Sat, 19 Sep 2015 01:31:21 GMT
If either (or both) combo boxes is null or undefined, return


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/85e90ca9
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/85e90ca9
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/85e90ca9

Branch: refs/heads/sf-plugins
Commit: 85e90ca9ee8d583dafe4a656eaed42016d116ec4
Parents: 620af9c
Author: Mike Tutkowski <mike.tutkowski@solidfire.com>
Authored: Wed Jul 8 20:25:47 2015 -0600
Committer: Mike Tutkowski <mike.tutkowski@solidfire.com>
Committed: Fri Sep 18 19:28:19 2015 -0600

----------------------------------------------------------------------
 ui/plugins/sfSharedVolume/sfSharedVolume.js | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/85e90ca9/ui/plugins/sfSharedVolume/sfSharedVolume.js
----------------------------------------------------------------------
diff --git a/ui/plugins/sfSharedVolume/sfSharedVolume.js b/ui/plugins/sfSharedVolume/sfSharedVolume.js
index 2d904cd..5835edd 100644
--- a/ui/plugins/sfSharedVolume/sfSharedVolume.js
+++ b/ui/plugins/sfSharedVolume/sfSharedVolume.js
@@ -157,6 +157,10 @@
                   },
                   dependsOn: ['availabilityZone', 'account'],
                   select: function(args) {
+                    if (args.data.availabilityZone == null || args.data.account == null)
{
+                      return;
+                    }
+
                     var params = [];
 
                     params.push("&zoneid=" + args.data.availabilityZone);


Mime
View raw message