From 96efbaef736cff91829ca196c2eb19cfe8c3682a Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Fri, 13 Feb 2015 13:17:32 -0500 Subject: [PATCH] LP#1402797 Code layout cleanup Signed-off-by: Mike Rylander Signed-off-by: Bill Erickson --- .../js/ui/default/staff/cat/services/marcedit.js | 54 +++++++++++++++++++--- 1 file changed, 47 insertions(+), 7 deletions(-) diff --git a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js index ae699b25b5..7580a14c93 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js +++ b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js @@ -36,14 +36,20 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap']) return { restrict: 'E', replace: true, - template: '', + template: '', scope: { field: '=', onKeydown: '=', subfield: '=', content: '=', contextItemContainer: '@', - idPath: '=', max: '@', itype: '@' }, @@ -161,7 +167,14 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap']) return { transclude: true, restrict: 'E', - template: '', + template: '', scope: { ind : '=', field: '=', onKeydown: '=', indNumber: '@' }, replace: false, } @@ -171,7 +184,14 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap']) return { transclude: true, restrict: 'E', - template: '', + template: '', scope: { tag : '=', field: '=', onKeydown: '=' }, replace: false } @@ -197,7 +217,14 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap']) restrict: 'E', template: '
'+ ''+ - ''+ + ''+ '
', scope: { field: "=", onKeydown: '=' } } @@ -208,8 +235,21 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap']) transclude: true, restrict: 'E', template: '
'+ - ''+ - ''+ + ''+ + ''+ '
', controller : ['$scope', function ( $scope ) { -- 2.11.0