Use callback_as_dict for addcost
This commit is contained in:
parent
c1f70d9d0a
commit
5101400f64
1 changed files with 1 additions and 0 deletions
|
@ -798,6 +798,7 @@ $(document).ready(function() {
|
||||||
var addcostDialog = new UserDialog({
|
var addcostDialog = new UserDialog({
|
||||||
'title': 'Majoration',
|
'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">',
|
'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 = '') {
|
function askAddcost(errors = '') {
|
||||||
|
|
Loading…
Reference in a new issue