mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Updated to Limesurvey 1.91+ Revision 11132
This commit is contained in:
@@ -1361,14 +1361,14 @@ if (!$previewgrp){
|
||||
}
|
||||
|
||||
echo '</div></div>';
|
||||
|
||||
echo "<script type=\"text/javascript\">\n"
|
||||
. " $(\".outerframe\").addClass(\"withindex\");\n"
|
||||
. " var idx = $(\"#index\");\n"
|
||||
. " var row = $(\"#index .row.current\");\n"
|
||||
. " idx.scrollTop(row.position().top - idx.height() / 2 - row.height() / 2);\n"
|
||||
. "</script>\n";
|
||||
echo "\n";
|
||||
/* Can be replaced by php or in global js */
|
||||
echo "<script type=\"text/javascript\">\n"
|
||||
. " $(\".outerframe\").addClass(\"withindex\");\n"
|
||||
. " var idx = $(\"#index\");\n"
|
||||
. " var row = $(\"#index .row.current\");\n"
|
||||
. " idx.scrollTop(row.position().top - idx.height() / 2 - row.height() / 2);\n"
|
||||
. "</script>\n";
|
||||
echo "\n";
|
||||
}
|
||||
|
||||
echo "<!-- group2.php -->\n"; //This can go eventually - it's redundent for debugging
|
||||
|
||||
Reference in New Issue
Block a user