mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Replaced _top with _self to make sure windows only open within frame
This commit is contained in:
@@ -729,7 +729,7 @@ if (isset($usejpgraph) && $usejpgraph == 1)
|
||||
|
||||
$statisticsoutput .= "\t\t<tr><td align='center'>\n\t\t\t<br />\n"
|
||||
."\t\t\t<input type='submit' value='".$clang->gT("View Stats")."' />\n"
|
||||
."\t\t\t<input type='button' value='".$clang->gT("Clear")."' onclick=\"window.open('$scriptname?action=statistics&sid=$surveyid', '_top')\" />\n"
|
||||
."\t\t\t<input type='button' value='".$clang->gT("Clear")."' onclick=\"window.open('$scriptname?action=statistics&sid=$surveyid', '_self')\" />\n"
|
||||
."\t\t<br /> \n"
|
||||
."\t\t<input type='hidden' name='sid' value='$surveyid' />\n"
|
||||
."\t\t<input type='hidden' name='display' value='stats' />\n"
|
||||
|
||||
Reference in New Issue
Block a user