Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Defensive programming in multifile.js

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92804 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit ba931706d6e2e80776bd7937c6268af0b81fc838 1 parent c2e1c12
@chillu chillu authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  thirdparty/multifile/multifile.js
View
3  thirdparty/multifile/multifile.js
@@ -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();
};
Please sign in to comment.
Something went wrong with that request. Please try again.