myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1759561 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Date Wed, 07 Sep 2016 08:37:36 GMT
Author: lofwyr
Date: Wed Sep  7 08:37:36 2016
New Revision: 1759561

URL: http://svn.apache.org/viewvc?rev=1759561&view=rev
Log:
cleanup

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=1759561&r1=1759560&r2=1759561&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
Wed Sep  7 08:37:36 2016
@@ -93,16 +93,6 @@ var Tobago = {
     isWebkit: false
   },
 
-  /**
-   * Flag indicating that the page is completely loaded.
-   */
-  // pageIsComplete: false,
-
-  /**
-   * Flag indicating that currently a scriptLoader is running.
-   */
-  // scriptLoadingActive: false,
-
   isSubmit: false,
 
   initMarker: false,
@@ -346,15 +336,6 @@ var Tobago = {
   },
 
   /**
-   * return true if page loading is complete.
-   */
-/*
-  isPageComplete: function() {
-    return this.pageIsComplete;
-  },
-*/
-
-  /**
    * Submitting the page with specified actionId.
    * options.transition
    * options.target
@@ -564,9 +545,6 @@ var Tobago = {
                     });
                 event.preventDefault();
                 event.stopPropagation();
-              } else if (commands.click.script) { // XXX this case is deprecated.
-                // not allowed with Content Security Policy (CSP)
-                new Function('event' , commands.click.script)(event);
               } else {
                 Tobago.submitAction(this, action, commands.click);
               }



Mime
View raw message