Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63E8518095 for ; Sat, 19 Sep 2015 01:31:13 +0000 (UTC) Received: (qmail 82510 invoked by uid 500); 19 Sep 2015 01:31:08 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 82380 invoked by uid 500); 19 Sep 2015 01:31:08 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 80958 invoked by uid 99); 19 Sep 2015 01:31:07 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Sep 2015 01:31:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 619C5E0F7F; Sat, 19 Sep 2015 01:31:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mtutkowski@apache.org To: commits@cloudstack.apache.org Date: Sat, 19 Sep 2015 01:31:20 -0000 Message-Id: <948d04919a614997b0a73dcba541fe40@git.apache.org> In-Reply-To: <1ba3cd7f4a18434d91b25d563b872cbb@git.apache.org> References: <1ba3cd7f4a18434d91b25d563b872cbb@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [14/50] git commit: updated refs/heads/sf-plugins to 157efc3 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 Authored: Wed Jul 8 22:46:41 2015 -0600 Committer: Mike Tutkowski 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; }