summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/js
diff options
context:
space:
mode:
authorxue <>2006-05-21 22:53:49 +0000
committerxue <>2006-05-21 22:53:49 +0000
commit414451b4e1062433734f0927daff003235148ef1 (patch)
tree7dfc1c529426faea5dadc3130df14c50af92f675 /framework/Web/Javascripts/js
parente9044ac913b511f9f1b2aad12d18a79f40131b8b (diff)
Merge from 3.0 branch till 1089.
Diffstat (limited to 'framework/Web/Javascripts/js')
-rw-r--r--framework/Web/Javascripts/js/validator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/js/validator.js b/framework/Web/Javascripts/js/validator.js
index 41b40fcd..43624d38 100644
--- a/framework/Web/Javascripts/js/validator.js
+++ b/framework/Web/Javascripts/js/validator.js
@@ -139,7 +139,7 @@ return this.trim($F(control));}},observeDatePickerChanges:function()
{checked++;values.push(element.value);}});return{'checks':checked,'values':values};},getListElements:function()
{switch(this.options.ControlType)
{case'TCheckBoxList':case'TRadioButtonList':var elements=[];for(var i=0;i<this.options.TotalItems;i++)
-{var element=$(this.options.ControlToValidate+"_"+i);if(this.isCheckBoxType(element))
+{var element=$(this.options.ControlToValidate+"_c"+i);if(this.isCheckBoxType(element))
elements.push(element);}
return elements;case'TListBox':var elements=[];var element=$(this.options.ControlToValidate);if(element&&(type=element.type.toLowerCase()))
{if(type=="select-one"||type=="select-multiple")