1ºjavascript div visible attribute not works as expected, returns
always true.
IFAIK in Firefox, Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5)
Gecko/2007071901 Iceweasel/2.0.0.5 (Debian-2.0.0.5-1)

Index: app/views/eadmin/index.rhtml
===================================================================
--- app/views/eadmin/index.rhtml        (revisión: 1032)
+++ app/views/eadmin/index.rhtml        (copia de trabajo)
@@ -5,7 +5,7 @@
     element_unhide = $("unhide_"+wfid);
     element_hide = $("hide_"+wfid);

-    if (element_errors.visible) {
+    if (element_errors.style.display == 'none') {

         element_unhide.style.display = 'none';
         element_hide.style.display = 'block';
@@ -55,7 +55,7 @@
             <div id="hide_<%= sta.wfid %>" style="display: none">
                 <%= link_to_function(
                     "hide errors",
-                    "toggleErrors('"+sta.wfid+"');") -%>
+                    "toggleErrors('"+sta.wfid+"')") -%>
             </div>
        </td>
    </tr>

ありござ!

Best regards.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFEru dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwferu-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to