summaryrefslogtreecommitdiff
path: root/index_edit.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2011-11-11 00:56:58 +0000
committerfisharebest <fisharebest@gmail.com>2011-11-11 00:56:58 +0000
commit0f21e1e20204a4b11ee738e9f0ecd697f4ba0149 (patch)
treecad91d835750205009047a4f9e963893b20f9add /index_edit.php
parent1f695b56043116fbdb4afec8e48a68d83ffab5ce (diff)
downloadwebtrees-0f21e1e20204a4b11ee738e9f0ecd697f4ba0149.tar.gz
webtrees-0f21e1e20204a4b11ee738e9f0ecd697f4ba0149.tar.bz2
webtrees-0f21e1e20204a4b11ee738e9f0ecd697f4ba0149.zip
Use consistent style for <a href="#" onclick="foo();"> the various combinations of javascript:XXX are non-standard, and cause problems with some browsers.
Diffstat (limited to 'index_edit.php')
-rw-r--r--index_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index_edit.php b/index_edit.php
index b853ed54ba..6a0873db30 100644
--- a/index_edit.php
+++ b/index_edit.php
@@ -47,7 +47,7 @@ if (isset($_REQUEST['name'])) $name = $_REQUEST['name'];
if (!WT_USER_ID) {
$controller->pageHeader();
echo WT_I18N::translate('<b>Access Denied</b><br />You do not have access to this resource.');
- echo '<div class="center"><a href="javascript:;" onclick="self.close();">', WT_I18N::translate('Close Window').'</a></div>';
+ echo '<div class="center"><a href="#" onclick="self.close();">', WT_I18N::translate('Close Window').'</a></div>';
exit;
}
if (!WT_USER_IS_ADMIN) $setdefault=false;