r13527 - in Products.Archetypes/trunk: . Products/Archetypes/skins/archetypes/widgets/js

"Thomas Desvenain" <[email protected]> Thu, 24 Mar 2011 11:01:16 +0000
Newsgroups gmane.comp.web.zope.plone.archetypes.cvs
Message-ID <[email protected]>
Author: thomasdesvenain
Date: Thu Mar 24 11:01:16 2011
New Revision: 13527

Modified:
   Products.Archetypes/trunk/CHANGES.txt
   Products.Archetypes/trunk/Products/Archetypes/skins/archetypes/widgets/js/keywordmultiselect.js
Log:
Fixed: all labels on edit form had 'display: block' css behaviour  once there was keywords.

Modified: Products.Archetypes/trunk/CHANGES.txt
==============================================================================
--- Products.Archetypes/trunk/CHANGES.txt	(original)
+++ Products.Archetypes/trunk/CHANGES.txt	Thu Mar 24 11:01:16 2011
@@ -4,6 +4,10 @@
 1.7.4 - Unreleased
 ------------------
 
+- Fixed: all labels on edit form had 'display: block' css behaviour
+  once there was keywords.
+  [thomasdesvenain]
+
 1.7.3 - 2011-03-02
 ------------------
 
@@ -29,7 +33,7 @@
 ------------------
 
 - Include plone.app.viewletmanager package to clear up plone.app.layout test
-  failures. 
+  failures.
   [esteele]
 
 1.7 - 2011-01-03
@@ -382,7 +386,7 @@
 * Restructured and restyled inandout widget to fix issue with rtl scripts.
   http://dev.plone.org/plone/ticket/5660
   [emanlove]
-  
+
 * Replaced the css_slot with the style_slot, as the deprecated
   css_slot is now really removed in Plone 4.
   [maurits+maartenkling]
@@ -402,7 +406,7 @@
 * Adjust to refactoring of CMFCatalogAware and PortalFolder's use of it.
   [davisagli]
 
-* Fix for missing short-name field due to removal of globals. 
+* Fix for missing short-name field due to removal of globals.
   http://dev.plone.org/plone/ticket/9429
   [esteele]
 
@@ -621,7 +625,7 @@
 
 1.5.10 - 2008-09-30
 -------------------
- 
+
 * Fire WebDAVObjectInitializedEvent/WebDAVObjectEditedEvent when
   content is created/edited via PUT/MKCOL. This is part of the fix
   for http://dev.plone.org/plone/ticket/7338

Modified: Products.Archetypes/trunk/Products/Archetypes/skins/archetypes/widgets/js/keywordmultiselect.js
==============================================================================
--- Products.Archetypes/trunk/Products/Archetypes/skins/archetypes/widgets/js/keywordmultiselect.js	(original)
+++ Products.Archetypes/trunk/Products/Archetypes/skins/archetypes/widgets/js/keywordmultiselect.js	Thu Mar 24 11:01:16 2011
@@ -502,7 +502,7 @@
 				// overflow-y: auto enables the scrollbar, like a multiple-select
 				html += '<div class="optionsBox" 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>';
+				html += '<style type="text/css">.ArchetypesKeywordWidget label {display: block;}</style>';
 				$(select).after(html);
 
 				var multiSelectA = $(select).next('.multiSelectA');

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar