r13301 - 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: Sat Nov 27 07:01:35 2010
New Revision: 13301

Modified:
   Products.Archetypes/branches/plip11017-tag-selector-rmattb/Products/Archetypes/skins/archetypes/widgets/js/keywordmultiselect.js
Log:
Refactored backslash-continued line to comply with jsLint.  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	Sat Nov 27 07:01:35 2010
@@ -364,14 +364,10 @@
 				var select = $(this);
 				// anchor originally used for dropdown
 				var html = '<a href="javascript:;" class="multiSelect" tabindex="1"><span></span></a>';
-				html += ' \
-					<div class="multiSelectOptions" tabindex="9999" style=" \
-						overflow-y: auto;  	/* enables the scrollbar, like a multiple-select */ \
-						"> \
-					</div> \
-					<!-- display:block makes the blank area to the right of the text clickable, like a multiple-select --> \
-					<style type="text/css">label {display: block;}</style> \
-				';
+				// overflow-y: auto enables the scrollbar, like a multiple-select
+				html += '<div class="multiSelectOptions" tabindex="9999" style="overflow-y: auto;"></div>';
+				//display:block makes the blank area right of the text clickable, like a multiple-select
+				html += '<style type="text/css">label {display: block;}</style>';
 				$(select).after(html);
 				
 				var multiSelect = $(select).next('.multiSelect');

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.