commit aff32be3d3be7ba48e5990b58fcc34b7de1cc22c
parent 3da676ddc596c4070ad2e9f671a0439379fce60d
Author: Jan Dankert <devnull@localhost>
Date: Fri, 18 Nov 2011 23:38:21 +0100
Das eigene Element an Methode 'submitLink' übergeben.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/themes/default/include/html/link.inc.php b/themes/default/include/html/link.inc.php
@@ -43,7 +43,7 @@
$tmp_data = $json->encode( array('action'=>!empty($attr_action)?$attr_action:$this->actionName,'subaction'=>!empty($attr_subaction)?$attr_subaction:$this->subActionName,'id'=>!empty($attr_id)?$attr_id:$this->getRequestId())
+array(REQ_PARAM_TOKEN=>token())
+$params );
- $tmp_function_call = "submitLink('".str_replace("\n",'',str_replace('"','"',$tmp_data))."');";
+ $tmp_function_call = "submitLink(this,'".str_replace("\n",'',str_replace('"','"',$tmp_data))."');";
break;
case 'view':