Login Retreive lost passwordRegister
Search

Forum Index / General / Patch for bug close tag XHTML

[ This topic is solved ]

  kreatik 19 June 09 / 01:09  
Changed at 19 June 09 / 01:10
Hi all :)

Bug found, affect : validation xhtml and rendering

In file /fields/class.jsDateField.php at line 131 search :

"<img src='".FH_FHTML_DIR."images/calendar.gif' border='0' alt='Select Date' '. FH_XHTML_CLOSE .'></a>\n".


and replace by :

"<img src='".FH_FHTML_DIR."images/calendar.gif' border='0' alt='Select Date' ". FH_XHTML_CLOSE ."></a>\n".


Tanks for FH, good continuation !

  kreatik 19 June 09 / 01:23  
Other "bug" for validation xhtml :

file : class.RadioButton.php line : 161, replace :

(isset($this->_mValue) && $sValue == $this->_mValue ? 'checked ':'').


by :

 (isset($this->_mValue) && $sValue == $this->_mValue ? 'checked="checked" ':'').

  Johan Wiegel (Admin) 19 June 09 / 08:14  
patched thanks again

  Dirk Hooghe 14 August 10 / 12:45  
When i validated my site I get the folowing error

The "FH_XHTML_CLOSE" attribute is not valid for the "br" element. Some valid attributes for this element are: "accesskey", "class", "clear", "contenteditable", "contextmenu", "dir", "draggable", "hidden", "id", "item", "itemfor", "itemprop", "lang", "role", "spellcheck", "style", "tabindex", and "title".

in

..." onkeyup="displayLimit('FormHandler', 'opmerking', 100, true, 'U kunt nog &lt;b&gt;%d&lt;/b&gt; karakters gebruiken in dit veld');"></textarea><br FH_XHTML_CLOSE ><div id='opmerking_limit'></div>

this is in my code
<code>
$form -> textArea("Opmerking", "opmerking", _FH_TEXT);
$form -> setMaxLength("opmerking", 100);</code>

is this a bug, and what can I do.

  Johan Wiegel (Admin) 14 August 10 / 13:04  
Changed at 14 August 10 / 13:08
It's a bug.

in class.TextField.php

on line 161 should be :

<?php
                  
"<br "FH_XHTML_CLOSE ."><div id='"$this -> _sName."_limit'></div>\n"

?>


it's fixed in current download

  Dirk Hooghe 14 August 10 / 16:07  
Johan,
I think t was in class.TextArea on line 161. I changed it Ok it works thanks.
An other problem. My browser is Mozilla Firefox version 3.6.8 and in my form I have severol inputfields. When I open the firebug and I click in a field I get the following error,

Permission denied to access property 'parentNode' from a non-chrome context
[Break on this error] function PopupWindow_isClicked(e){if(t... false;}return false;}return false;}

what can that be.

  Johan Wiegel (Admin) 14 August 10 / 20:09  
Should be solved in current download.
this is a special FF bug.

  baljeet singh 27 August 10 / 16:58  
Hi Johan,

I am also facing the same problem in Mozilla Firefox version 3.6.8.

Permission denied to access property 'parentNode' from a non-chrome context
[Break on this error] function PopupWindow_isClicked(e){if(t... false;}return false;}return false;}

Would you please tell me where it is fixed?

What are the new issues/bugs has been fixed in Mozilla firefox latest verson.

Can you share the url where it is mentioned that this issue has been solved.

I also tried to use latest version of Mozilla Firefox version 4.0 beta. I am still facing the same problem. I don't think it is solved in latest download.


Thanks in advance.

  Johan Wiegel (Admin) 27 August 10 / 17:16  
I found the solution here http://www.dynarch.com/projects/calendar/old/ number 160.

  Top


powered by PHP-GLOBE   © 2004 - 2012 FormHandler. All rights reserved.   -   Open source license