mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Defensive scripting in LeftAndMain.Tree.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@98709 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
89c926221f
commit
52c5e35768
@ -75,7 +75,7 @@ TreeAPI.prototype = {
|
||||
function(data, status){
|
||||
self.innerHTML = data;
|
||||
self.castAsTreeNode(self.firstChild);
|
||||
if (options.onSuccess) options.onSuccess(data);
|
||||
if (options && options.onSuccess) options.onSuccess(data);
|
||||
},
|
||||
'html'
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user