Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Need to test for if siteTreeFilterList as it isn't present in asset m…

…anager view, and so js error happens. which stops moving files to folders from working.
  • Loading branch information...
commit 00bc0f877f85c4b6abae53cf714e3ff47bbc0858 1 parent 85a0957
@asecondwill authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 javascript/LeftAndMain_Subsites.js
View
4 javascript/LeftAndMain_Subsites.js
@@ -10,7 +10,9 @@ Behaviour.register({
$('sitetree').innerHTML = response.responseText;
SiteTree.applyTo($('sitetree'));
$('sitetree').getTreeNodeByIdx(0).onselect();
- $('siteTreeFilterList').reapplyIfNeeded();
+ if ($('siteTreeFilterList')) {
+ $('siteTreeFilterList').reapplyIfNeeded();
+ }
}
},
Please sign in to comment.
Something went wrong with that request. Please try again.