]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
split words also by =, < and >
authorChristian Weiske <cweiske@cweiske.de>
Tue, 29 Mar 2011 05:57:35 +0000 (07:57 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Tue, 29 Mar 2011 05:57:35 +0000 (07:57 +0200)
data/templates/editbookmark.tpl.php

index 8083a79bce5c3211eb6f11e3dafe939b0301c54d..69d3897831d9f8f4a0b6bb855cddcd485f82bea2 100644 (file)
@@ -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