Thinkos in Living with Lakes / Faculty Authors
authorDan Scott <dscott@laurentian.ca>
Wed, 15 Apr 2015 16:48:47 +0000 (12:48 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 15 Apr 2015 16:50:13 +0000 (12:50 -0400)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/cat/moveto/faculty_authors.tt2
Open-ILS/src/templates/cat/moveto/live_lakes.tt2
Open-ILS/web/js/ui/default/cat/moveto/faculty_authors.js
Open-ILS/web/js/ui/default/cat/moveto/live_lakes.js

index bb10423..d6a767d 100644 (file)
@@ -1,6 +1,6 @@
 [% ctx.page_title = 'Move item to Faculty Authors collection' %]
 [% WRAPPER base.tt2 %]
-<script src='[% ctx.media_prefix %]/js/ui/default/cat/moveto/live_lakes.js'> </script>
+<script src='[% ctx.media_prefix %]/js/ui/default/cat/moveto/faculty_authors.js'> </script>
 
 <style>
     label { margin-left: 2em; }
index 1463d6f..363b131 100644 (file)
@@ -12,7 +12,7 @@
 
 </style>
 
-<h1>Move item to Living with Lakes Centre</h1>
+<h1>[% ctx.page_title %]</h1>
 
 <form method="get" action="/eg/cat/moveto/live_lakes">
      <table id="barcodeForm">
index e304424..f4128c1 100644 (file)
@@ -63,6 +63,7 @@ function moveCopy(barcode) {
     copy.ischanged(true);
     pcrud.update(copy);
 
+    volume = pcrudReader.retrieve("acn", copy.call_number());
     record = pcrudReader.retrieve("bre", volume.record());
     dojo.place("<div class='barcode'>" + copy.barcode() + "</div>", 'resultsDiv', 'only');
     dojo.place("<div class='call_number'>" + volume.label() + "</div>", 'resultsDiv', 'last');
index c641ac0..436d529 100644 (file)
@@ -63,6 +63,7 @@ function moveCopy(barcode) {
     copy.ischanged(true);
     pcrud.update(copy);
 
+    volume = pcrudReader.retrieve("acn", copy.call_number());
     record = pcrudReader.retrieve("bre", volume.record());
     dojo.place("<div class='barcode'>" + copy.barcode() + "</div>", 'resultsDiv', 'only');
     dojo.place("<div class='call_number'>" + volume.label() + "</div>", 'resultsDiv', 'last');