Updated Branches: refs/heads/autoscale ce1f8bd26 -> f5e8a3708
CS-15927:Filter to display only Non AutoscaleVMs (name to displayname property change) Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/f5e8a370 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/f5e8a370 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/f5e8a370 Branch: refs/heads/autoscale Commit: f5e8a3708ea5374f8846daa17878c6e1b1105c24 Parents: ce1f8bd Author: Pranav Saxena <[email protected]> Authored: Mon Aug 20 11:57:11 2012 +0530 Committer: Pranav Saxena <[email protected]> Committed: Mon Aug 20 11:57:11 2012 +0530 ---------------------------------------------------------------------- ui/scripts/network.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/f5e8a370/ui/scripts/network.js ---------------------------------------------------------------------- diff --git a/ui/scripts/network.js b/ui/scripts/network.js index 57d38aa..cc056ed 100644 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -1980,10 +1980,10 @@ function(instance) { //Hiding the autoScale VMs var nonAutoScale =0; - if(instance.name.match(/AutoScale-LB-/) == null) + if(instance.displayname.match(/AutoScale-LB-/) == null) nonAutoScale = 1; else { - if( instance.name.match(/AutoScale-LB-/).length) + if( instance.displayname.match(/AutoScale-LB-/).length) nonAutoScale =0; } var isActiveState = $.inArray(instance.state, ['Destroyed']) == -1;
