Disable all tree collapse and expand

This commit is contained in:
Austen Adler 2016-09-16 00:02:09 -04:00
parent cad81e2f91
commit 35cff5a344
No known key found for this signature in database
GPG Key ID: 7ECEE590CCDFE3F1

View File

@ -514,6 +514,7 @@ var TreeStyleTabBase = inherit(TreeStyleTabConstants, {
isEventFiredOnTwisty : function TSTBase_isEventFiredOnTwisty(aEvent)
{
return false;
var tab = this.getTabFromEvent(aEvent);
if (!tab ||
!this.hasChildTabs(tab) ||