[TYPO3-core] RFC #9553: Bug: Form validation script jsfunc.validateform.js sometimes fails in IE

Vladimir Podkovanov admin at sitesfactory.ru
Tue Oct 14 09:00:50 CEST 2008


This is an SVN patch request.

Type: Bugfix

Bugtracker references: http://bugs.typo3.org/view.php?id=9553

Branches: TYPO3_4-1, TYPO3_4-2, trunk

Problem:
Script jsfunc.validateform.js uses variable "a" in function split() 
without declaration. And if html page has an element with id="a" it 
causes script error then as IE thinks that "a" is an object.

Solution:
To fix it variable should be declared: "var a;"

-- 
-rgds-
Vladimir
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_9553.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081014/520b6190/attachment-0001.txt 


More information about the TYPO3-team-core mailing list