From ac8cea75ed68e568658a8e45215a78b8c40f3ce6 Mon Sep 17 00:00:00 2001 From: mensonge Date: Mon, 12 Jan 2009 13:45:49 +0000 Subject: Interface fix: add suggested anchors to bookmarks' description field. git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@229 b3834d28-1941-0410-a4f8-b48e95affb8f --- jsScuttle.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'jsScuttle.php') diff --git a/jsScuttle.php b/jsScuttle.php index 222b91d..c21fa0e 100644 --- a/jsScuttle.php +++ b/jsScuttle.php @@ -141,3 +141,9 @@ function playerLoad() { } } } + +function addAnchor(anchorForm, where) { + var whereZone = document.getElementById(where); + whereZone.value = whereZone.value + anchorForm; + document.getElementById(where).focus(); +} -- cgit v1.2.3