LP#1778571 Fix logic error converting JS bool to DB bool
[evergreen-equinox.git] / Open-ILS / src / templates / staff / cat / volcopy / t_copy_notes.tt2
index 671b3e9..ff2ab0f 100644 (file)
@@ -2,7 +2,7 @@
     <div class="modal-header">
       <button type="button" class="close" ng-click="cancel()" 
         aria-hidden="true">&times;</button>
-      <h4 class="modal-title">[% l('New Copy Note') %]</h4>
+      <h4 class="modal-title">[% l('New Item Note') %]</h4>
     </div>
     <div class="modal-body">
       <div class="row">
@@ -46,7 +46,7 @@
           </div>
           <div class="row">
             <div class="col-md-12">
-              <h4 class="pull-left">[% l('Existing Copy Notes') %]</h4>
+              <h4 class="pull-left">[% l('Existing Item Notes') %]</h4>
             </div>
           </div>
         </div>
@@ -61,7 +61,7 @@
             </div>
             <div class="col-md-3">
               <label>
-                <input type="checkbox" ng-model="pub" ng-change="n.pub(pub) && n.ischanged(1)" ng-disabled="deleted"/>
+                <input type="checkbox" ng-model="pub" ng-change="n.pub(pub ? 't' : 'f') && n.ischanged(1)" ng-disabled="deleted"/>
                 [% l('Public Note') %]
               </label>
             </div>