From 3e5ed4c1e35d9176ae8d797756b2b688d9fa5b1c Mon Sep 17 00:00:00 2001 From: Normann Lou Date: Thu, 15 Jan 2009 22:45:59 +0000 Subject: [PATCH] Feature, Add the ability in front end that a tag field could dynamically get its field text separator which is coming from the field php code. --- javascript/jquery.tags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/jquery.tags.js b/javascript/jquery.tags.js index 05c8820..41bcc41 100644 --- a/javascript/jquery.tags.js +++ b/javascript/jquery.tags.js @@ -52,8 +52,8 @@ 'tags' : null, 'url' : null, 'delay' : 300, - 'separator' : ' ' }; + defaults['separator'] = $(this).attr('rel'); var i, tag, userTags = [], settings = $.extend({}, defaults, options);