myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r499524 - /myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Date Wed, 24 Jan 2007 18:41:40 GMT
Author: bommel
Date: Wed Jan 24 10:41:39 2007
New Revision: 499524

URL: http://svn.apache.org/viewvc?view=rev&rev=499524
Log:
(TOBAGO-103) Progressbar
(TOBAGO-41) Add "target" attribute for Tobago button component.

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=499524&r1=499523&r2=499524
==============================================================================
--- 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
Wed Jan 24 10:41:39 2007
@@ -421,9 +421,11 @@
   //      LOG.debug("submit form with action: " + Tobago.action.value);
         Tobago.form.submit();
         Tobago.action.value = oldAction;
-        Tobago.onBeforeUnload();
         if (target) {
           Tobago.form.target = oldTarget;
+          this.isSubmit = false;
+        } else {
+          Tobago.onBeforeUnload();
         }
       }
     }, true);



Mime
View raw message