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 6279517375 for ; Mon, 13 Oct 2014 04:41:32 +0000 (UTC) Received: (qmail 21518 invoked by uid 500); 13 Oct 2014 04:41:20 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 21449 invoked by uid 500); 13 Oct 2014 04:41:20 -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 20797 invoked by uid 99); 13 Oct 2014 04:41:19 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2014 04:41:19 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id A2DC890458F; Mon, 13 Oct 2014 04:41:19 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ke4qqq@apache.org To: commits@cloudstack.apache.org Date: Mon, 13 Oct 2014 04:41:57 -0000 Message-Id: <5577f7fb038945a8a99fdc2a9bfa4e54@git.apache.org> In-Reply-To: <6e970e9d4fb34ec3806772577f9fed13@git.apache.org> References: <6e970e9d4fb34ec3806772577f9fed13@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [40/50] [abbrv] git commit: updated refs/heads/4.5 to 50ee981 CLOUDSTACK-5719: UI > Network > Add Guest Network > when Physical Network dropdown is changed, refresh Network Offering dropdown (because each physical network has its own tags which maps to different network offerings) (cherry picked from commit 0af0c041e9b05d52d72936b6ecd194ee07be7421) Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/51d274b9 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/51d274b9 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/51d274b9 Branch: refs/heads/4.5 Commit: 51d274b9addc4d16dbedacd463354edf8c31901d Parents: db79dd1 Author: Jessica Wang Authored: Thu Oct 9 13:14:52 2014 -0700 Committer: David Nalley Committed: Mon Oct 13 00:37:16 2014 -0400 ---------------------------------------------------------------------- ui/scripts/sharedFunctions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/51d274b9/ui/scripts/sharedFunctions.js ---------------------------------------------------------------------- diff --git a/ui/scripts/sharedFunctions.js b/ui/scripts/sharedFunctions.js index 5597a7b..8ec88b3 100644 --- a/ui/scripts/sharedFunctions.js +++ b/ui/scripts/sharedFunctions.js @@ -524,7 +524,7 @@ var addGuestNetworkDialog = { networkOfferingId: { label: 'label.network.offering', docID: 'helpGuestNetworkZoneNetworkOffering', - dependsOn: ['zoneId', 'scope'], + dependsOn: ['zoneId', 'physicalNetworkId', 'scope'], select: function(args) { if(args.$form.find('.form-item[rel=zoneId]').find('select').val() == null || args.$form.find('.form-item[rel=zoneId]').find('select').val().length == 0) { args.response.success({