diff options
-rw-r--r-- | data/templates/editbookmark.tpl.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/editbookmark.tpl.php b/data/templates/editbookmark.tpl.php index 8083a79..69d3897 100644 --- a/data/templates/editbookmark.tpl.php +++ b/data/templates/editbookmark.tpl.php @@ -135,10 +135,11 @@ $ajaxUrl = ROOT . 'ajax/' <script type="text/javascript" src="<?php echo ROOT ?>js/jquery-ui-1.8.11/jquery.ui.position.js"></script> <script type="text/javascript" src="<?php echo ROOT ?>js/jquery-ui-1.8.11/jquery.ui.autocomplete.js"></script> <script type="text/javascript"> +//<![CDATA[ jQuery(document).ready(function() { function split(val) { - return val.split(/,\s*/); + return val.split(/[,=><]\s*/); } function extractLast(term) @@ -184,6 +185,7 @@ jQuery(document).ready(function() { } }); }); +//]]> </script> <?php |