Author: johnnyoffline
Date: 2010-09-08 16:25:36 +0200 (Wed, 08 Sep 2010)
New Revision: 30855
Modified:
plugins/sfDoctrineActAsTaggablePlugin/trunk/web/js/pkTagahead.js
Log:
fixed a js syntax bug affecting Chrome and Safari
Modified: plugins/sfDoctrineActAsTaggablePlugin/trunk/web/js/pkTagahead.js
===================================================================
--- plugins/sfDoctrineActAsTaggablePlugin/trunk/web/js/pkTagahead.js
2010-09-08 13:00:08 UTC (rev 30854)
+++ plugins/sfDoctrineActAsTaggablePlugin/trunk/web/js/pkTagahead.js
2010-09-08 14:25:36 UTC (rev 30855)
@@ -127,7 +127,7 @@
var new_tag = $('<span />');
var new_link = $('<a />');
new_tag.html("<span>"+text+"</span>");
- new_tag.attr({ class: 'a-tag a-popular', title: title });
+ new_tag.attr({ title: title }).addClass('a-tag a-popular');
new_tag.prepend(new_link);
new_link.text(title);
new_link.attr(attributes);
@@ -139,10 +139,10 @@
var new_tag = $('<span />');
var new_link = $('<a />');
new_tag.html("<span>"+title+"</span>");
- new_tag.attr({ class:'a-tag' , title: title });
+ new_tag.attr({ title: title }).addClass('a-tag');
new_link.text('Remove Tag');
new_link.attr(attributes);
- new_link.attr({ class: 'a-btn icon a-close-small no-label
no-bg', title: 'Remove' });
+ new_link.attr({ title: 'Remove' }).addClass('a-btn icon
a-close-small no-label no-bg');
new_link.prepend('<span class="icon"></span>');
new_tag.append(new_link);
return new_tag;
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.