Use callback_as_dict for addcost

This commit is contained in:
Ludovic Stephan 2017-03-26 17:57:51 -03:00
parent c1f70d9d0a
commit 5101400f64

View file

@ -798,6 +798,7 @@ $(document).ready(function() {
var addcostDialog = new UserDialog({
'title': 'Majoration',
'content': '<input type="text" placeholder="Trigramme" autocomplete="off" name="trigramme" spellcheck="false" style="text-transform:uppercase" autofocus><input type="number" lang="en" step="0.01" min="0.01" placeholder="€" name="amount">',
'callback_as_dict': true,
});
function askAddcost(errors = '') {