summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-10-31 12:14:13 +0000
committerctrlaltca@gmail.com <>2011-10-31 12:14:13 +0000
commit199ebf217cc4b597fc2044d50ef66b73dc4c5eaf (patch)
tree5bba50689e5a51ea811cd4d5a615e031952959e9 /framework/Web/Javascripts
parent91bb0070322f3cbde4c4600574dfb995ef4360e4 (diff)
Bugfix: TListBox SelestionMode="Multiple" did not report correctly its selected indices on callback
Updated version of prado clientscript to 3.2
Diffstat (limited to 'framework/Web/Javascripts')
-rw-r--r--framework/Web/Javascripts/source/prado/activecontrols/ajax3.js8
-rw-r--r--framework/Web/Javascripts/source/prado/prado.js2
2 files changed, 8 insertions, 2 deletions
diff --git a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
index b0e4e31e..2d410375 100644
--- a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
+++ b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
@@ -869,7 +869,13 @@ Prado.CallbackRequest.prototype = Object.extend(Prado.AjaxRequest.prototype,
{
callback.PostDataLoaders.each(function(name)
{
- $A(document.getElementsByName(name)).each(function(element)
+ var elements=$A(document.getElementsByName(name));
+ if(elements.size() == 0)
+ {
+ name += '[]';
+ elements=$A(document.getElementsByName(name));
+ }
+ elements.each(function(element)
{
//IE will try to get elements with ID == name as well.
if(element.type && element.name == name)
diff --git a/framework/Web/Javascripts/source/prado/prado.js b/framework/Web/Javascripts/source/prado/prado.js
index d2fc8bdf..ce789456 100644
--- a/framework/Web/Javascripts/source/prado/prado.js
+++ b/framework/Web/Javascripts/source/prado/prado.js
@@ -8,7 +8,7 @@ var Prado =
* Version of Prado clientscripts
* @var Version
*/
- Version: '3.1',
+ Version: '3.2',
/**
* Registry for Prado components