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
This commit is contained in:
mensonge 2009-01-12 12:45:24 +00:00
parent 413f75cb21
commit 8f271134d4
2 changed files with 4 additions and 4 deletions

View file

@ -80,9 +80,9 @@ Array.prototype.remove = function (ele) {
}; };
function addonload(addition) { function addonload(addition) {
var existing = window.onload; //var existing = window.onload;
window.onload = function () { window.onload = function () {
existing(); //existing();
addition(); addition();
} }
} }

View file

@ -48,7 +48,7 @@ $this->includeTemplate("dojo.inc");
<th align="left"><?php echo T_('Tags'); ?></th> <th align="left"><?php echo T_('Tags'); ?></th>
<td class="scuttletheme"> <td class="scuttletheme">
<span dojoType="dojo.data.ItemFileReadStore" jsId="memberTagStore" url="<?php echo ROOT?>ajax/gettags.php"></span> <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> <td>&larr; <?php echo T_('Comma-separated'); ?></td>
</tr> </tr>
<tr> <tr>
@ -103,7 +103,7 @@ $this->includeTemplate("dojo.inc");
<?php <?php
// Dynamic tag selection // Dynamic tag selection
//$this->includeTemplate('dynamictags.inc'); $this->includeTemplate('dynamictags.inc');
// Bookmarklets and import links // Bookmarklets and import links
if (empty($_REQUEST['popup']) && (!isset($showdelete) || !$showdelete)) { if (empty($_REQUEST['popup']) && (!isset($showdelete) || !$showdelete)) {