From: Jason Etheridge Date: Fri, 10 Jun 2016 16:37:01 +0000 (-0400) Subject: better stub out the other tabs, and try to select CONS by default X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=86bc955eaed0600911c7198aac4cf7e34584ad91;p=working%2FEvergreen.git better stub out the other tabs, and try to select CONS by default Signed-off-by: Jason Etheridge --- diff --git a/Open-ILS/src/templates/staff/admin/actor/org_unit/t_addresses_tab.tt2 b/Open-ILS/src/templates/staff/admin/actor/org_unit/t_addresses_tab.tt2 index e69de29bb2..add988c638 100644 --- a/Open-ILS/src/templates/staff/admin/actor/org_unit/t_addresses_tab.tt2 +++ b/Open-ILS/src/templates/staff/admin/actor/org_unit/t_addresses_tab.tt2 @@ -0,0 +1 @@ +addresses diff --git a/Open-ILS/src/templates/staff/admin/actor/org_unit/t_hours_tab.tt2 b/Open-ILS/src/templates/staff/admin/actor/org_unit/t_hours_tab.tt2 index e69de29bb2..9a0c614626 100644 --- a/Open-ILS/src/templates/staff/admin/actor/org_unit/t_hours_tab.tt2 +++ b/Open-ILS/src/templates/staff/admin/actor/org_unit/t_hours_tab.tt2 @@ -0,0 +1 @@ +hours diff --git a/Open-ILS/src/templates/staff/admin/actor/org_unit/t_index.tt2 b/Open-ILS/src/templates/staff/admin/actor/org_unit/t_index.tt2 index b45667f779..1f883b4ce2 100644 --- a/Open-ILS/src/templates/staff/admin/actor/org_unit/t_index.tt2 +++ b/Open-ILS/src/templates/staff/admin/actor/org_unit/t_index.tt2 @@ -39,10 +39,10 @@ [% INCLUDE 'staff/admin/actor/org_unit/t_main_tab.tt2' %]
- hours tab + [% INCLUDE 'staff/admin/actor/org_unit/t_hours_tab.tt2' %]
- addr tab + [% INCLUDE 'staff/admin/actor/org_unit/t_addresses_tab.tt2' %]
diff --git a/Open-ILS/web/js/ui/default/staff/admin/actor/org_unit/app.js b/Open-ILS/web/js/ui/default/staff/admin/actor/org_unit/app.js index bab6a63ee9..bd24c808cb 100644 --- a/Open-ILS/web/js/ui/default/staff/admin/actor/org_unit/app.js +++ b/Open-ILS/web/js/ui/default/staff/admin/actor/org_unit/app.js @@ -58,6 +58,7 @@ function($scope , $q , $routeParams , $window , egCore , egOrg ) { // the org tree $scope.treedata = [ egCore.idl.toHash( egOrg.tree() ) ]; + $scope.selected = $scope.treedata[0]; // FIXME -- why no work? $scope.expandedNodes = [ $scope.treedata[0] ]; $scope.showSelected = function(sel) {