Author: johnnyoffline
Date: 2010-09-15 22:40:55 +0200 (Wed, 15 Sep 2010)
New Revision: 30917
Modified:
plugins/sfDoctrineActAsTaggablePlugin/trunk/web/js/pkTagahead.js
Log:
1. Added a <span class="icon"></span> into the "Add" Button in the
inlineTaggableWidget
2. Changed a wrapper class to be more consistently named with it's siblings
Modified: plugins/sfDoctrineActAsTaggablePlugin/trunk/web/js/pkTagahead.js
===================================================================
--- plugins/sfDoctrineActAsTaggablePlugin/trunk/web/js/pkTagahead.js
2010-09-15 18:52:36 UTC (rev 30916)
+++ plugins/sfDoctrineActAsTaggablePlugin/trunk/web/js/pkTagahead.js
2010-09-15 20:40:55 UTC (rev 30917)
@@ -182,10 +182,10 @@
typeAheadBox.attr('type', 'text');
var addButton = $('<a />');
- addButton.text('Add');
+ addButton.html('<span class="icon"></span>Add');
addButton.attr({'href' : '#', 'class' : 'a-btn icon a-add
add-tags-link', 'title' : 'Add these tags'});
-
typeAheadContainer.addClass('a-type-ahead-container').append(typeAheadBox).append(addButton);
+
typeAheadContainer.addClass('a-inline-taggable-widget').append(typeAheadBox).append(addButton);
tagInput.hide();
tagInput.parent().append(typeAheadContainer);
--
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.