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/02/24 21:28:56 UTC
svn commit: r1732219 -
/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-utils.js
Author: lofwyr
Date: Wed Feb 24 20:28:56 2016
New Revision: 1732219
URL: http://svn.apache.org/viewvc?rev=1732219&view=rev
Log:
TOBAGO-1524: Use standard ajax mechanism
* support for escaping "." for "javax.faces.source"
Modified:
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-utils.js
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-utils.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-utils.js?rev=1732219&r1=1732218&r2=1732219&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-utils.js (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-utils.js Wed Feb 24 20:28:56 2016
@@ -23,7 +23,7 @@ Tobago.Utils = {};
* @return A string which can be used as a jQuery selector.
*/
Tobago.Utils.escapeClientId = function(id) {
- return '#' + id.replace(/:/g, '\\:');
+ return '#' + id.replace(/([:\.])/g, '\\$1');
};
/**