summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatar mensonge2009-01-12 12:45:24 +0000
committerGravatar mensonge2009-01-12 12:45:24 +0000
commit8f271134d4c20ac0705bb73053ccdab57750dff7 (patch)
treeb3853e98b0cd2d0b5a93d7e6be4b3c9073ec9fe7
parent413f75cb21ab9045327fd8d3d6af775383e83bcc (diff)
downloadscuttle-8f271134d4c20ac0705bb73053ccdab57750dff7.tar.gz
scuttle-8f271134d4c20ac0705bb73053ccdab57750dff7.zip
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
-rw-r--r--templates/dynamictags.inc.php4
-rw-r--r--templates/editbookmark.tpl.php4
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");
<th align="left"><?php echo T_('Tags'); ?></th>
<td class="scuttletheme">
<span dojoType="dojo.data.ItemFileReadStore" jsId="memberTagStore" url="<?php echo ROOT?>ajax/gettags.php"></span>
- <input type="text" dojoType="js.MultiComboBox" id="tags2" name="tags" size="75" value="<?php echo filter(implode(', ', $row['tags']), 'xml'); ?>" store="memberTagStore" delimiter="," searchAttr="tag" hasDownArrow="false"/></td>
+ <input type="text" dojoType="js.MultiComboBox" id="tags" name="tags" size="75" value="<?php echo filter(implode(', ', $row['tags']), 'xml'); ?>" store="memberTagStore" delimiter="," searchAttr="tag" hasDownArrow="false"/></td>
<td>&larr; <?php echo T_('Comma-separated'); ?></td>
</tr>
<tr>
@@ -103,7 +103,7 @@ $this->includeTemplate("dojo.inc");
<?php
// Dynamic tag selection
-//$this->includeTemplate('dynamictags.inc');
+$this->includeTemplate('dynamictags.inc');
// Bookmarklets and import links
if (empty($_REQUEST['popup']) && (!isset($showdelete) || !$showdelete)) {