summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorwei <>2007-03-26 07:40:53 +0000
committerwei <>2007-03-26 07:40:53 +0000
commitfb29e39241b47fee99a17fab73447b9e23eabd83 (patch)
treeba567d674a9d11018600824da3d0fcf1300e5c6b /framework/Web
parentbd0116cd205fea7d71849625352ac8a9adf7d14f (diff)
update tests for radio button, update ajax3.js (null post values are ignored)
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Javascripts/prado/ajax3.js2
-rw-r--r--framework/Web/UI/ActiveControls/TActiveRadioButtonList.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/prado/ajax3.js b/framework/Web/Javascripts/prado/ajax3.js
index f6bb048f..51d0186b 100644
--- a/framework/Web/Javascripts/prado/ajax3.js
+++ b/framework/Web/Javascripts/prado/ajax3.js
@@ -610,7 +610,7 @@ Prado.CallbackRequest.prototype =
if(element.type && element.name == name)
{
value = $F(element);
- if(typeof(value) != "undefined")
+ if(typeof(value) != "undefined" && value != null)
data[name] = value;
}
})
diff --git a/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php b/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php
index 0eb3f83a..6e3fef6f 100644
--- a/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php
+++ b/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php
@@ -95,6 +95,7 @@ class TActiveRadioButtonList extends TRadioButtonList implements IActiveControl,
*/
public function raiseCallbackEvent($param)
{
+ var_dump($_POST);
$this->onCallback($param);
}