Index: ChangeLog =================================================================== --- ChangeLog (Revision 9932) +++ ChangeLog (Arbeitskopie) @@ -1,3 +1,7 @@ +2010-12-28 Benjamin Mack + + * Revert change #16614 (rev. 968333 common.js resets TYPO3 namespace / Fixed regression #16831: 'Ext' is undefinded, Line: 81, js/common.js + 2010-12-23 Jigal van Hemert * Fixed bug #16825: Fatal error in lang.php (thanks to Georg Ringer) Index: typo3/js/common.js =================================================================== --- typo3/js/common.js (Revision 9932) +++ typo3/js/common.js (Arbeitskopie) @@ -29,7 +29,7 @@ Ajax.Responders.register({ onCreate: function(request, transport) { - // if the TYPO3 AJAX backend is used, + // if the TYPO3 AJAX backend is used, // the onSuccess & onComplete callbacks are hooked if (request.url.indexOf("ajax.php") == -1) { return; @@ -77,8 +77,7 @@ } // common storage and global object, could later hold more information about the current user etc. -var TYPO3 = TYPO3 || {}; -TYPO3 = Ext.apply(TYPO3, { +var TYPO3 = { // store instances that only should be running once _instances: {}, getInstance: function(className) { @@ -88,9 +87,9 @@ TYPO3._instances[className] = instance; return instance; }, - + helpers: { - // creates an array by splitting a string into parts, taking a delimiter + // creates an array by splitting a string into parts, taking a delimiter split: function(str, delim) { var res = new Array(); while (str.indexOf(delim) > 0) { @@ -100,4 +99,4 @@ return res; } } -}); +};