Skip to content

Commit

Permalink
Fixed boot order options bug (Fix #726)
Browse files Browse the repository at this point in the history
Unchecking a boot option should not uncheck all the options below it.
  • Loading branch information
pdonias committed Feb 12, 2016
1 parent 07a0394 commit 2b60fc6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/modules/vm/index.coffee
Expand Up @@ -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
Expand Down

0 comments on commit 2b60fc6

Please sign in to comment.