Skip to content

Commit

Permalink
Changed all "window.close()" javascript calls to "self.close()" javas…
Browse files Browse the repository at this point in the history
…cript calls (for compatability with mac safari browser)

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1016 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed May 9, 2004
1 parent 5a244af commit b1a8262
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
echo "&token=".returnglobal('token');
}
echo "'>"._RESTART."</a><br />\n"
."\t\t<a href='javascript: window.close()'>"._CLOSEWIN_PS."</a>\n"
."\t\t<a href='javascript: self.close()'>"._CLOSEWIN_PS."</a>\n"
."\t\t</font>\n"
."\t</td></tr>\n"
."\t</table>\n\t<br />\n";
Expand Down Expand Up @@ -944,7 +944,7 @@ function buildsurveysession()
."\t"._FURTHERINFO." {$thissurvey['adminname']} "
."(<a href='mailto:{$thissurvey['adminemail']}'>"
."{$thissurvey['adminemail']}</a>)<br /><br />\n"
."\t<a href='javascript:window.close()'>"._CLOSEWIN_PS."</a><br />&nbsp;\n";
."\t<a href='javascript: self.close()'>"._CLOSEWIN_PS."</a><br />&nbsp;\n";
foreach(file("$thistpl/endpage.pstpl") as $op)
{
echo templatereplace($op);
Expand Down Expand Up @@ -1007,7 +1007,7 @@ function buildsurveysession()
."\t"._FURTHERINFO." {$thissurvey['adminname']}"
." (<a href='mailto:{$thissurvey['adminemail']}'>"
."{$thissurvey['adminemail']}</a>)<br /><br />\n"
."\t<a href='javascript:window.close()'>"._CLOSEWIN_PS."</a><br />&nbsp;\n";
."\t<a href='javascript: self.close()'>"._CLOSEWIN_PS."</a><br />&nbsp;\n";
foreach(file("$thistpl/endpage.pstpl") as $op)
{
echo templatereplace($op);
Expand Down

0 comments on commit b1a8262

Please sign in to comment.