Author: pyaschenko
Date: 2008-03-18 08:22:45 -0400 (Tue, 18 Mar 2008)
New Revision: 6899
Modified:
trunk/framework/impl/src/main/javascript/jquery/patches.js
Log:
RF-1953
Modified: trunk/framework/impl/src/main/javascript/jquery/patches.js
===================================================================
--- trunk/framework/impl/src/main/javascript/jquery/patches.js 2008-03-18 12:21:47 UTC
(rev 6898)
+++ trunk/framework/impl/src/main/javascript/jquery/patches.js 2008-03-18 12:22:45 UTC
(rev 6899)
@@ -6,13 +6,14 @@
//if (jQuery(jQuery) != jQuery) {
if (!window.RichFaces.isJQueryWrapped) {
var oldJQuery = jQuery;
- jQuery = function() {
- if (arguments[0] == arguments.callee) {
- return arguments.callee;
- } else {
- return oldJQuery.apply(this, arguments);
- }
- };
+// moved to original jQuery function
+// jQuery = function() {
+// if (arguments[0] == arguments.callee) {
+// return arguments.callee;
+// } else {
+// return oldJQuery.apply(this, arguments);
+// }
+// };
if (window.RichFaces && window.RichFaces.Memory) {
window.RichFaces.Memory.addCleaner("jquery", function(node) {