mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
c2e1c12bba
commit
ba931706d6
3
thirdparty/multifile/multifile.js
vendored
3
thirdparty/multifile/multifile.js
vendored
@ -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();
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user