[open-ils-commits] r937 - conifer/branches/rel_1_6_0/web/js/ui/default/cat/storage (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jul 23 15:44:52 EDT 2010
Author: dbs
Date: 2010-07-23 15:44:47 -0400 (Fri, 23 Jul 2010)
New Revision: 937
Modified:
conifer/branches/rel_1_6_0/web/js/ui/default/cat/storage/move.js
Log:
Slightly less dumb title display.
I can sleep at night now.
Modified: conifer/branches/rel_1_6_0/web/js/ui/default/cat/storage/move.js
===================================================================
--- conifer/branches/rel_1_6_0/web/js/ui/default/cat/storage/move.js 2010-07-22 18:55:03 UTC (rev 936)
+++ conifer/branches/rel_1_6_0/web/js/ui/default/cat/storage/move.js 2010-07-23 19:44:47 UTC (rev 937)
@@ -65,8 +65,9 @@
dojo.place("<div style='display:none'>" + record.marc() + "</div>", dojo.body(), 'last');
// Totally dumb title display. Oh well!
- dojo.query("datafield[tag='245'] subfield[code='a']").forEach(function(node, index, arr) {
- dojo.place("<div class='title'>" + node.innerHTML + "</div>", 'resultsDiv', 'last')
+ dojo.place("<div class='title' id='titleDiv'></div>", 'resultsDiv', 'last');
+ dojo.query("datafield[tag='245'] subfield").forEach(function(node, index, arr) {
+ dojo.place("<span class='title'>" + node.innerHTML + " </span>", 'titleDiv', 'last');
});
}
More information about the open-ils-commits
mailing list