Update of /var/cvs/contributions/CMSContainer/cmsc/utilities/src/webapp/js
In directory james.mmbase.org:/tmp/cvs-serv28559/cmsc/utilities/src/webapp/js
Modified Files:
window.js
Log Message:
CMSC-1154 ("func is not a function" js error occurs when first move content to
another channel in the Content Explorer)
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/utilities/src/webapp/js
See also: http://www.mmbase.org/jira/browse/CMSC-1154
Index: window.js
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/utilities/src/webapp/js/window.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- window.js 21 May 2007 18:06:16 -0000 1.1
+++ window.js 11 Nov 2008 03:05:19 -0000 1.2
@@ -205,6 +205,7 @@
// addLoadEvent(functieNaam)
function addLoadEvent(func, windowElement) {
+ if (typeof func != 'function') return;
if (windowElement == undefined) {
windowElement = window;
}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs