2
0
forked from Wavyzz/dolibarr

NEW class reposition can also work on POST (not only GET)

This commit is contained in:
Laurent Destailleur
2018-04-19 13:59:20 +02:00
parent 4472234637
commit fc167612c2
8 changed files with 33 additions and 10 deletions

View File

@@ -6888,6 +6888,10 @@ function printCommonFooter($zone='private')
if ($zone == 'private') print "\n".'<!-- Common footer for private page -->'."\n";
else print "\n".'<!-- Common footer for public page -->'."\n";
// A div to store page_y POST parameter so we can read it using javascript
print "\n<!-- A div to store page_y POST paramater -->\n";
print '<div id="page_y" style="display: none;">'.$_POST['page_y'].'</div>'."\n";
$parameters=array();
$reshook=$hookmanager->executeHooks('printCommonFooter',$parameters); // Note that $action and $object may have been modified by some hooks
if (empty($reshook))