Fix for JS error in IE 8 (reported via the forum)

SVN:trunk[2558]
This commit is contained in:
Denis Flaven
2012-12-11 13:35:43 +00:00
parent b038bc3905
commit 402b907c8e

View File

@@ -122,7 +122,7 @@ function ReloadSearchForm(divId, sClassName, sBaseClass, sContext)
aSubmit = new Array();
if ( (oFormEvents != null) && (oFormEvents.submit != undefined))
{
for(index = 0; index < oFormEvents.submit.length; index++)
for(var index = 0; index < oFormEvents.submit.length; index++)
{
aSubmit [index ] = { data:oFormEvents.submit[index].data, namespace:oFormEvents.submit[index].namespace, handler: oFormEvents.submit[index].handler};
}
@@ -147,7 +147,7 @@ function ReloadSearchForm(divId, sClassName, sBaseClass, sContext)
if (aSubmit.length > 0)
{
var oForm = $('#ds_'+divId+' form'); // Form was reloaded, recompute it
for(index = 0; index < aSubmit.length; index++)
for(var index = 0; index < aSubmit.length; index++)
{
// Restore the previously bound submit handlers
if (aSubmit[index].data != undefined)