From 3fb25eec92c0c72760c4bf8040efd4b86c446bc6 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 30 Mar 2007 00:38:41 +0000 Subject: Fixed #579 --- framework/Web/Javascripts/js/debug/prado.js | 61 +++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) (limited to 'framework/Web/Javascripts/js/debug/prado.js') diff --git a/framework/Web/Javascripts/js/debug/prado.js b/framework/Web/Javascripts/js/debug/prado.js index 1388135d..0e815b99 100644 --- a/framework/Web/Javascripts/js/debug/prado.js +++ b/framework/Web/Javascripts/js/debug/prado.js @@ -4670,3 +4670,64 @@ Prado.WebUI.TRadioButtonList = Base.extend( } }); +Prado.WebUI.TRatingList = Class.create(); +Prado.WebUI.TRatingList.prototype = +{ + selectedIndex : -1, + + initialize : function(options) + { + this.options = options; + this.element = $(options['ID']); + Element.addClassName(this.element,options.cssClass); + this.radios = document.getElementsByName(options.field); + for(var i = 0; i -1 ? + this.radios[index].value : this.options.caption; + } +} + -- cgit v1.2.3