Adopt panel system in match spec
Change-Id: I068c9f3ece057ce7eb782575fc5233d00985c02c
diff --git a/dev/js/src/match/treeitem.js b/dev/js/src/match/treeitem.js
index 68ffe8c..d99165a 100644
--- a/dev/js/src/match/treeitem.js
+++ b/dev/js/src/match/treeitem.js
@@ -56,8 +56,8 @@
var menu = this.menu();
menu.hide();
e.halt();
- if (menu.info() !== undefined) {
- menu.info().showTree(this._foundry, this._layer, this._type);
+ if (menu.panel() !== undefined) {
+ menu.panel().addTree(this._foundry, this._layer, this._type);
};
},