forgot a 'page' parameter for 'no' button
This commit is contained in:
parent
c6bc767834
commit
11e97df558
@ -5182,6 +5182,7 @@ class Form
|
||||
"'.dol_escape_js($langs->transnoentities($labelbuttonno)).'": function() {
|
||||
var options = "token='.urlencode(newToken()).'";
|
||||
var inputko = '.json_encode($inputko).'; /* List of fields into form */
|
||||
var page = "'.dol_escape_js(!empty($page) ? $page : '').'";
|
||||
var pageno="'.dol_escape_js(!empty($pageno) ? $pageno : '').'";
|
||||
if (inputko.length>0) {
|
||||
$.each(inputko, function(i, inputname) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user