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 2016/09/07 08:37:36 UTC

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

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);
               }