You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2011/11/25 10:51:22 UTC

svn commit: r1206101 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/CommandRendererHelper.java

Author: lofwyr
Date: Fri Nov 25 09:51:21 2011
New Revision: 1206101

URL: http://svn.apache.org/viewvc?rev=1206101&view=rev
Log:
TOBAGO-999: Partially update while popup close drops User input

Modified:
    myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/CommandRendererHelper.java

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/CommandRendererHelper.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/CommandRendererHelper.java?rev=1206101&r1=1206100&r2=1206101&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/CommandRendererHelper.java (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/CommandRendererHelper.java Fri Nov 25 09:51:21 2011
@@ -119,7 +119,7 @@ public class CommandRendererHelper {
         } else if (value.equals("afterSubmit")
             && command instanceof org.apache.myfaces.tobago.component.UICommand
             && ((org.apache.myfaces.tobago.component.UICommand) command).getRenderedPartially().length > 0) {
-          onclick += "Tobago.closePopup(this);";
+          onclick = "Tobago.unlockBehindPopup();" + onclick + "Tobago.closePopup(this);";
         }
 
       }