MINOR Defensive programming in multifile.js

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92804 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 03:19:10 +00:00
parent c2e1c12bba
commit ba931706d6

View File

@ -182,7 +182,8 @@ function MultiSelector( list_target, max, upload_button ){
this.list_target.appendChild( new_row );
// Modified 2006-11-06 by Silverstripe Ltd.
window.ontabschanged();
console.debug(typeof(window.ontabschanged));
if(typeof(window.ontabschanged) != 'undefined') window.ontabschanged();
};