From 297a0b142326320f54f83b1f3d9d7f7c9a0b495a Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Fri, 10 Jun 2016 12:37:01 -0400 Subject: [PATCH] better stub out the other tabs, and try to select CONS by default Signed-off-by: Jason Etheridge --- .../templates/staff/admin/actor/org_unit/t_addresses_tab.tt2 | 1 + .../src/templates/staff/admin/actor/org_unit/t_hours_tab.tt2 | 1 + Open-ILS/src/templates/staff/admin/actor/org_unit/t_index.tt2 | 4 ++-- Open-ILS/web/js/ui/default/staff/admin/actor/org_unit/app.js | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) 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) { -- 2.43.2