Load tags for tokeninput directly in html page. Ajax is too slow.

git-svn-id: http://piwigo.org/svn/trunk@11039 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
patdenice 2011-05-25 09:00:46 +00:00
parent 4c13229cd9
commit c9b7beb12f
9 changed files with 76 additions and 80 deletions

View file

@ -2097,7 +2097,7 @@ function get_active_menu($menu_page)
return 0;
}
function get_fckb_taglist($query)
function get_taglist($query)
{
$result = pwg_query($query);
@ -2119,7 +2119,7 @@ function get_fckb_taglist($query)
return $taglist;
}
function get_fckb_tag_ids($raw_tags)
function get_tag_ids($raw_tags)
{
// In $raw_tags we receive something like array('~~6~~', '~~59~~', 'New
// tag', 'Another new tag') The ~~34~~ means that it is an existing