From 815b8e040eaeb11a8a21ff2e617ce0d60160e12d Mon Sep 17 00:00:00 2001 From: slhale Date: Thu, 27 Aug 2015 10:49:57 -0700 Subject: [PATCH] [Inspector] Merge paneModel and treeModel Use the treeModel for what the paneModel was previously being used for. None of the property names conflict. This allows the right pane to access the treeModel info. --- .../commonUI/browse/res/templates/browse.html | 16 ++++++++-------- platform/commonUI/browse/src/BrowseController.js | 6 +----- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/platform/commonUI/browse/res/templates/browse.html b/platform/commonUI/browse/res/templates/browse.html index b85fbb76c4..d3bb46c70a 100644 --- a/platform/commonUI/browse/res/templates/browse.html +++ b/platform/commonUI/browse/res/templates/browse.html @@ -32,11 +32,11 @@
+ ng-class='{inactive: !treeModel.leftPane}'> + ng-model="treeModel">
+ ng-class="{inactive: !treeModel.leftPane}">
+ ng-class='{leftInactive: !treeModel.leftPane}'>
+ ng-class='{rightInactive: !treeModel.rightPane}'>
+ ng-model="treeModel">
+ ng-class="{inactive: !treeModel.rightPane}">
+ ng-class='{inactive: !treeModel.rightPane}'>