LP#1708291: remove initials field for serial notes
authorJason Etheridge <jason@EquinoxInitiative.org>
Fri, 4 Aug 2017 17:51:36 +0000 (13:51 -0400)
committerDan Wells <dbw2@calvin.edu>
Fri, 1 Sep 2017 16:47:52 +0000 (12:47 -0400)
This was a carry-over from the copy notes modal that doesn't
apply to serial notes.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>

Open-ILS/src/templates/staff/serials/t_notes.tt2
Open-ILS/web/js/ui/default/staff/serials/directives/subscription_manager.js
Open-ILS/web/js/ui/default/staff/serials/directives/view-items-grid.js

index 06ed074..d0fe48e 100644 (file)
@@ -34,8 +34,6 @@
     <div class="modal-footer">
       <div class="row">
         <div class="col-md-2">
-          <input type="text" class="form-control" ng-hide="!require_initials" 
-            ng-model="initials" placeholder="[% l('Initials') %]" ng-required="require_initials"/>
         </div>
         <div class="col-md-10 pull-right">
           <input type="submit" class="btn btn-primary" value="[% l('OK') %]"/>
index d7edbb8..db0e009 100644 (file)
@@ -885,13 +885,6 @@ function($scope , $uibModalInstance , egCore , note_type , rows , notes ) {
         'alert' : false,
     };
 
-    $scope.require_initials = false;
-    egCore.org.settings([
-        'ui.staff.require_initials.copy_notes'
-    ]).then(function(set) {
-        $scope.require_initials = Boolean(set['ui.staff.require_initials.copy_notes']);
-    });
-
     $scope.note_list = notes;
 
     $scope.ok = function(note) {
index f1b1b9c..5d9d376 100644 (file)
@@ -490,13 +490,6 @@ function($scope , $uibModalInstance , egCore , note_type , rows , notes ) {
         'alert' : false,
     };
 
-    $scope.require_initials = false;
-    egCore.org.settings([
-        'ui.staff.require_initials.copy_notes'
-    ]).then(function(set) {
-        $scope.require_initials = Boolean(set['ui.staff.require_initials.copy_notes']);
-    });
-
     $scope.note_list = notes;
 
     $scope.ok = function(note) {