diff --git a/htdocs/accountancy/admin/account.php b/htdocs/accountancy/admin/account.php index b4bf5cc7f2c..bc8fff8395c 100644 --- a/htdocs/accountancy/admin/account.php +++ b/htdocs/accountancy/admin/account.php @@ -36,6 +36,7 @@ $action = GETPOST('action', 'aZ09'); $cancel = GETPOST('cancel', 'alpha'); $id = GETPOST('id', 'int'); $rowid = GETPOST('rowid', 'int'); +$massaction = GETPOST('massaction', 'aZ09'); $contextpage=GETPOST('contextpage', 'aZ')?GETPOST('contextpage', 'aZ'):'accountingaccountlist'; // To manage different context of search $search_account = GETPOST('search_account', 'alpha'); @@ -100,7 +101,7 @@ if (empty($reshook)) $search_array_options=array(); } - if (GETPOST('change_chart', 'alpha')) + if (GETPOST('change_chart', 'alpha') && (GETPOST('valid_change_chart', 'int') || empty($conf->use_javascript_ajax))) { $chartofaccounts = GETPOST('chartofaccounts', 'int'); @@ -236,6 +237,24 @@ if ($resql) if ($search_pcgsubtype) $param.= '&search_pcgsubtype='.urlencode($search_pcgsubtype); if ($optioncss != '') $param.='&optioncss='.$optioncss; + if (! empty($conf->use_javascript_ajax)) + { + print ' + '; + } print '