From 8f271134d4c20ac0705bb73053ccdab57750dff7 Mon Sep 17 00:00:00 2001 From: mensonge Date: Mon, 12 Jan 2009 12:45:24 +0000 Subject: [PATCH] Interface fix: re-add javascript button to add tags git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@228 b3834d28-1941-0410-a4f8-b48e95affb8f --- templates/dynamictags.inc.php | 4 ++-- templates/editbookmark.tpl.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/dynamictags.inc.php b/templates/dynamictags.inc.php index 07e3ee9..c6b0d16 100644 --- a/templates/dynamictags.inc.php +++ b/templates/dynamictags.inc.php @@ -80,9 +80,9 @@ Array.prototype.remove = function (ele) { }; function addonload(addition) { - var existing = window.onload; + //var existing = window.onload; window.onload = function () { - existing(); + //existing(); addition(); } } diff --git a/templates/editbookmark.tpl.php b/templates/editbookmark.tpl.php index aa875ce..264a3c1 100644 --- a/templates/editbookmark.tpl.php +++ b/templates/editbookmark.tpl.php @@ -48,7 +48,7 @@ $this->includeTemplate("dojo.inc"); - + @@ -103,7 +103,7 @@ $this->includeTemplate("dojo.inc"); includeTemplate('dynamictags.inc'); +$this->includeTemplate('dynamictags.inc'); // Bookmarklets and import links if (empty($_REQUEST['popup']) && (!isset($showdelete) || !$showdelete)) {