CLOUDSTACK-8231: Fixed UI empty drop-down list for LB rules

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #271

(cherry picked from commit bede3a87ad)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Vadim Kimlaychuk 2015-05-20 22:08:29 +03:00 committed by Rohit Yadav
parent 96297eeb10
commit 79ddd74340
1 changed files with 2 additions and 2 deletions

View File

@ -1697,7 +1697,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({
@ -3541,7 +3541,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({