cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtutkow...@apache.org
Subject [14/50] git commit: updated refs/heads/sf-plugins to 157efc3
Date Sat, 19 Sep 2015 01:31:20 GMT
Adding in additional checks on "availabilityZone" and "account"


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

Branch: refs/heads/sf-plugins
Commit: 862841a6e509befc48b98fea3b07bc8a73b1a4e0
Parents: 85e90ca
Author: Mike Tutkowski <mike.tutkowski@solidfire.com>
Authored: Wed Jul 8 22:46:41 2015 -0600
Committer: Mike Tutkowski <mike.tutkowski@solidfire.com>
Committed: Fri Sep 18 19:28:19 2015 -0600

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/862841a6/ui/plugins/sfSharedVolume/sfSharedVolume.js
----------------------------------------------------------------------
diff --git a/ui/plugins/sfSharedVolume/sfSharedVolume.js b/ui/plugins/sfSharedVolume/sfSharedVolume.js
index 5835edd..a1a72fc 100644
--- a/ui/plugins/sfSharedVolume/sfSharedVolume.js
+++ b/ui/plugins/sfSharedVolume/sfSharedVolume.js
@@ -157,7 +157,8 @@
                   },
                   dependsOn: ['availabilityZone', 'account'],
                   select: function(args) {
-                    if (args.data.availabilityZone == null || args.data.account == null)
{
+                    if (args.data.availabilityZone == null || args.data.availabilityZone
== "" ||
+                        args.data.account == null || args.data.account == "") {
                       return;
                     }
 


Mime
View raw message