Skip to content

Commit

Permalink
Merge pull request #730 from vatesfr/pierre-boot-order
Browse files Browse the repository at this point in the history
Fixed boot order options bug (Fix #726)
  • Loading branch information
olivierlambert committed Feb 12, 2016
2 parents 07a0394 + 2a14664 commit 1314444
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
return
)
return xo.vm.setBootOrder {vm: id, order: paramString}
.finally () ->
$scope.savingBootOrder = false
Expand Down

0 comments on commit 1314444

Please sign in to comment.