[Treeview] Rename variable for clarity

paneModel's pane to leftPane, for clarity
once a right pane is added.
This commit is contained in:
slhale 2015-08-19 16:47:12 -07:00
parent e44e50823e
commit 29b1cfa890
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@
<div class="object-browse-bar bar abs">
<div class="ui-symbol left-pane-tabs"
ng-click="ngModel.pane = !ngModel.pane; log(ngModel.pane)">
ng-click="ngModel.leftPane = !ngModel.leftPane; log(ngModel.pane)">
<
</div>

View File

@ -32,7 +32,7 @@
<mct-split-pane class='contents abs'
anchor='left'>
<div class='split-pane-component treeview pane left'
ng-class='{inactive: !paneModel.pane}'>
ng-class='{inactive: !paneModel.leftPane}'>
<mct-representation key="'create-button'"
mct-object="navigatedObject">

View File

@ -64,7 +64,7 @@ define(
}
}
$scope.ngModel.pane = true;
$scope.ngModel.leftPane = true;
$scope.$watch('domainObject', setViewForDomainObject);
$scope.$watch('representation.selected.key', updateQueryParam);