You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2012/10/16 11:00:58 UTC
svn commit: r1398701 -
/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js
Author: werpu
Date: Tue Oct 16 09:00:57 2012
New Revision: 1398701
URL: http://svn.apache.org/viewvc?rev=1398701&view=rev
Log:
MYFACES-3626 fix for none handling
Modified:
myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js
Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js?rev=1398701&r1=1398700&r2=1398701&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js Tue Oct 16 09:00:57 2012
@@ -390,8 +390,10 @@ _MF_SINGLTN(_PFX_CORE + "Impl", _MF_OBJE
theForm = idIdx[this.IDENT_FORM];
if (none) {
- //in case of none only one value is returned
- passThrgh[target] = this.IDENT_NONE;
+ //in case of none nothing is returned
+ if('undefined' != typeof passThrgh.target) {
+ delete passThrgh.target;
+ }
return passThrgh;
}
if (all) {