summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorAnika Henke <a.c.henke@arcor.de>2008-07-20 13:07:38 +0200
committerAnika Henke <a.c.henke@arcor.de>2008-07-20 13:07:38 +0200
commitc44b968d237b2e6a6e56b5d9f6e2ac68b6a532fa (patch)
tree44d1b390c545cc5d07b5ea808176903f42580afd /inc/parser
parent3d581c29d78f580eaa4a06661d84951e2e481757 (diff)
downloadrpg-c44b968d237b2e6a6e56b5d9f6e2ac68b6a532fa.tar.gz
rpg-c44b968d237b2e6a6e56b5d9f6e2ac68b6a532fa.tar.bz2
removed all occurrences of onkeypress (FS#1449)
darcs-hash:20080720110738-d5083-50a92498622bd6ca9850da8f9417974fb39ccc3d.gz
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/xhtml.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 91b462089..726bccd19 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -613,8 +613,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
//Display error on browsers other than IE
$link['more'] = 'onclick="if(document.all == null){alert(\''.
str_replace('\\\\n','\\n',addslashes($lang['nosmblinks'])).
- '\');}" onkeypress="if(document.all == null){alert(\''.
- str_replace('\\\\n','\\n',addslashes($lang['nosmblinks'])).'\');}"';
+ '\');}"';
$link['name'] = $this->_getLinkTitle($name, $url, $isImage);
if ( !$isImage ) {