2
0
forked from Wavyzz/dolibarr

Debug module ticket

This commit is contained in:
Laurent Destailleur
2018-04-30 10:33:36 +02:00
parent 19c12f3103
commit 4c12369a26
6 changed files with 87 additions and 108 deletions

View File

@@ -135,8 +135,11 @@ print '
/* If page_y set, we set scollbar with it */
page_y=getParameterByName(\'page_y\', 0); /* search in GET parameter */
if (page_y == 0) page_y = jQuery("#page_y").text(); /* search in POST parameter that is filed at bottom of page */
console.log("page_y found is "+page_y);
if (page_y > 0) $(\'html, body\').scrollTop(page_y);
if (page_y > 0)
{
console.log("page_y found is "+page_y);
$(\'html, body\').scrollTop(page_y);
}
/* Set handler to add page_y param on output (click on href links or submit button) */
jQuery(".reposition").click(function() {