From 2b60fc6bace4a7b771432e6a912bf5f24aad3f63 Mon Sep 17 00:00:00 2001 From: Pierre Date: Fri, 12 Feb 2016 10:57:57 +0100 Subject: [PATCH] Fixed boot order options bug (Fix #726) Unchecking a boot option should not uncheck all the options below it. --- app/modules/vm/index.coffee | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/modules/vm/index.coffee b/app/modules/vm/index.coffee index b32a66634e1..eac38cebf37 100644 --- a/app/modules/vm/index.coffee +++ b/app/modules/vm/index.coffee @@ -271,7 +271,10 @@ module.exports = angular.module 'xoWebApp.vm', [ return $scope.savingBootOrder = true paramString = '' - forEach(bootParams, (boot) -> boot.v && paramString += boot.e) + forEach(bootParams, (boot) -> + boot.v && paramString += boot.e + $scope.$applyAsync() + ) return xo.vm.setBootOrder {vm: id, order: paramString} .finally () -> $scope.savingBootOrder = false