You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mt...@apache.org on 2015/07/28 22:15:07 UTC
[21/50] git commit: updated refs/heads/sf-plugins to bcf1c72
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/19532fc7
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/19532fc7
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/19532fc7
Branch: refs/heads/sf-plugins
Commit: 19532fc772f5e783251981b29ab6efcb86ed326b
Parents: 9ca0308
Author: Mike Tutkowski <mi...@solidfire.com>
Authored: Wed Jul 8 20:25:47 2015 -0600
Committer: CloudStack <cloudstack@cloudstack-virtual-machine.(none)>
Committed: Tue Jul 28 13:42:42 2015 -0600
----------------------------------------------------------------------
ui/plugins/sfSharedVolume/sfSharedVolume.js | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/19532fc7/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);