r13407 - 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: Tue Jan 11 15:09:37 2011
New Revision: 13407
Modified:
Products.Archetypes/branches/plip11017-tag-selector-rmattb/Products/Archetypes/skins/archetypes/widgets/js/keywordmultiselect.js
Log:
Removed red X icon and function to uncheck selected tags, per reviews. 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 Tue Jan 11 15:09:37 2011
@@ -334,13 +334,7 @@
display +
'<p class="selectedTag"><span class="selectedTag">' +
$(this).parent().text() +
- ' <a href="javascript:;" onclick="return false;" class="uncheck" name="' +
- $(this).parent().text() +
- '" title="' +
- o.unCheckAltText +
- '"><img src="delete_icon.png" height="16" width="17" alt="' +
- o.unCheckAltText +
- '"></a></span></p>';
+ '</span></p>';
}
else selectAll = false;
});
@@ -393,16 +387,6 @@
// Build the dropdown options
buildOptions.call(multiSelect, options);
-
- // 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.
- $("#selectedTags a.uncheck").live ('click', function (event) {
- var uncheckedTag = $(this).attr("name");
- var uncheckedTagCheckbox = $('input[value=' + uncheckedTag + ']')
- uncheckedTagCheckbox.click();
- uncheckedTagCheckbox.parent().toggleClass('checked');
- updateSelected.call(multiSelect);
- });
});
},
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl