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/11/11 15:32:11 UTC

svn commit: r1769303 - /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: Fri Nov 11 15:32:11 2016
New Revision: 1769303

URL: http://svn.apache.org/viewvc?rev=1769303&view=rev
Log:
TOBAGO-1524: Use standard AJAX mechanism
* implement "focus" and "blur"

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=1769303&r1=1769302&r2=1769303&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 Fri Nov 11 15:32:11 2016
@@ -401,6 +401,12 @@ var Tobago = {
     if (commands.dblclick) {
       normalEvents.push({event: "dblclick", command: commands.dblclick});
     }
+    if (commands.focus) {
+      normalEvents.push({event: "focus", command: commands.focus});
+    }
+    if (commands.blur) {
+      normalEvents.push({event: "blur", command: commands.blur});
+    }
 
     for (var i in normalEvents) {