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 2013/08/27 15:50:09 UTC
svn commit: r1517820 -
/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Author: weber
Date: Tue Aug 27 13:50:08 2013
New Revision: 1517820
URL: http://svn.apache.org/r1517820
Log:
TOBAGO-1305 - Error layer page at submit.
Modified:
myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Modified: myfaces/tobago/trunk/tobago-theme/tobago-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/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=1517820&r1=1517819&r2=1517820&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js Tue Aug 27 13:50:08 2013
@@ -2136,14 +2136,9 @@ Tobago.Updater = {
Tobago.storeClientDimension();
- var error = !Tobago.Transport.ajaxTransport.request(requestOptions);
-
- if (error) {
- LOG.error('error on update: not queued!'); // @DEV_ONLY
- if (!ids) {
- ids = Tobago.parsePartialIds(ajaxComponentIds);
- }
- this.doErrorUpdate(ids);
+ if (!Tobago.Transport.ajaxTransport.request(requestOptions)) {
+ LOG.error('Page was submitted, request not queued!'); // @DEV_ONLY
+ Tobago.Updater.handleMissingResponses(ajaxComponentIds, {});
}
} else {
LOG.info('No Ajax transport found! Doing full page reload.'); // @DEV_ONLY