You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2007/02/26 20:55:17 UTC

svn commit: r511973 - /myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js

Author: bommel
Date: Mon Feb 26 11:55:16 2007
New Revision: 511973

URL: http://svn.apache.org/viewvc?view=rev&rev=511973
Log:
(TOBAGO-303) Ajax reloads stopped when submitting non-JSF request

Modified:
    myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js

Modified: myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?view=diff&rev=511973&r1=511972&r2=511973
==============================================================================
--- myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js (original)
+++ myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js Mon Feb 26 11:55:16 2007
@@ -1597,15 +1597,13 @@
 Tobago.Transport = {
   requests: new Array(),
   currentActionId: null,
-  pageSubmited: false,
 
   request: function(req, submitPage, actionId) {
     var index = 0;
     if (submitPage) {
-      this.pageSubmited = true;
       index = this.requests.push(req);
       //LOG.debug('index = ' + index)
-    } else if (!this.pageSubmited) { // AJAX case
+    } else if (!this.isSubmit) { // AJAX case
       LOG.debug('Current ActionId = ' + this.currentActionId + ' action= ' + actionId);
       if (actionId && this.currentActionId == actionId) {
         LOG.debug('Ignoring request');