r13289 - Products.Archetypes/branches/plip11017-tag-selector-rmattb/Products/Archetypes/skins/archetypes/widgets/js
"Matt Barkau" <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.archetypes.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: rmattb
Date: Thu Nov 25 05:33:10 2010
New Revision: 13289
Modified:
Products.Archetypes/branches/plip11017-tag-selector-rmattb/Products/Archetypes/skins/archetypes/widgets/js/keywordmultiselect.js
Log:
Improve performance by always descending selection from an id. Refs #11017.
Modified: Products.Archetypes/branches/plip11017-tag-selector-rmattb/Products/Archetypes/skins/archetypes/widgets/js/keywordmultiselect.js
==============================================================================
--- Products.Archetypes/branches/plip11017-tag-selector-rmattb/Products/Archetypes/skins/archetypes/widgets/js/keywordmultiselect.js (original)
+++ Products.Archetypes/branches/plip11017-tag-selector-rmattb/Products/Archetypes/skins/archetypes/widgets/js/keywordmultiselect.js Thu Nov 25 05:33:10 2010
@@ -600,7 +600,7 @@
// Uncheck an option when the X icon in the list of selected tags is clicked,
// with a click event listener on elements of the uncheck class.
- $(".uncheck").live ('click', function (event) {
+ $("#selectedTags a.uncheck").live ('click', function (event) {
var uncheckedTag = $(this).attr("name");
$('input[value=' + uncheckedTag + ']').click();
$('input[value=' + uncheckedTag + ']').parent().toggleClass('checked');
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev