From bede3a87ad39545081b2e17d8d72bd6851a1b9b3 Mon Sep 17 00:00:00 2001 From: Vadim Kimlaychuk Date: Wed, 20 May 2015 22:08:29 +0300 Subject: [PATCH] CLOUDSTACK-8231: Fixed UI empty drop-down list for LB rules Signed-off-by: Rohit Yadav This closes #271 --- ui/scripts/network.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/network.js b/ui/scripts/network.js index 28fca5e0d65..d857b732db3 100755 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -1703,7 +1703,7 @@ name: 'source', description: _l('label.lb.algorithm.source') }]; - if (typeof args.context != 'undefined') { + if (typeof args.context == 'undefined') { data = getLBAlgorithms(args.context.networks[0]); } args.response.success({ @@ -3551,7 +3551,7 @@ name: 'source', description: _l('label.lb.algorithm.source') }]; - if (typeof args.context != 'undefined') { + if (typeof args.context == 'undefined') { data = getLBAlgorithms(args.context.networks[0]); } args.response.success({