fix(allocateNow): Send empty object to user.ops per @colegleason suggestion

Tested with both implemented allocation modes, looks good!
This commit is contained in:
Sabe Jones 2014-01-30 07:55:27 -06:00
parent 76a7ab5bcc
commit f6e12fa25e

View file

@ -156,7 +156,7 @@ script(id='partials/options.profile.stats.html', type='text/ng-template')
 
i.icon-question-sign(popover-trigger='mouseenter', popover-placement='right', popover=env.t('taskallocationpopover'))
div(ng-show='user.preferences.automaticAllocation && !(user.preferences.allocationMode === "taskbased") && (user.stats.points > 0)')
a.btn.btn-primary.btn-mini(ng-click='user.ops.allocateNow(user.stats)', popover-trigger='mouseenter', popover-placement='right', popover=env.t('distributepointspopover'))
a.btn.btn-primary.btn-mini(ng-click='user.ops.allocateNow({})', popover-trigger='mouseenter', popover-placement='right', popover=env.t('distributepointspopover'))
i.icon-download.icon-white
 
=env.t('distributepoints')