[Zope3-checkins] SVN: Zope3/branches/zope-with-formlib-for-zope-3.1.x/src/zope/formlib/pageform.pt merge revision 40608 from Gary Poster:

Fred L. Drake, Jr. fdrake at gmail.com
Tue Dec 6 14:31:08 EST 2005


Log message for revision 40610:
  merge revision 40608 from Gary Poster:
  Make JS help code ever-so-slightly more robust.
  

Changed:
  U   Zope3/branches/zope-with-formlib-for-zope-3.1.x/src/zope/formlib/pageform.pt

-=-
Modified: Zope3/branches/zope-with-formlib-for-zope-3.1.x/src/zope/formlib/pageform.pt
===================================================================
--- Zope3/branches/zope-with-formlib-for-zope-3.1.x/src/zope/formlib/pageform.pt	2005-12-06 19:00:35 UTC (rev 40609)
+++ Zope3/branches/zope-with-formlib-for-zope-3.1.x/src/zope/formlib/pageform.pt	2005-12-06 19:31:08 UTC (rev 40610)
@@ -30,7 +30,7 @@
         e.style.visibility = viz;
       }
     }
-    var help = document.getElementById("field-help-for-" + field.name);
+    var help = document.getElementById("field-help-for-" + ob.htmlFor);
     if (help) {
       help.style.visibility = state && 'visible' || 'hidden';
     }



More information about the Zope3-Checkins mailing list