[open-ils-commits] r17965 - trunk/Open-ILS/xul/staff_client/server/cat (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Sep 24 14:23:14 EDT 2010
Author: phasefx
Date: 2010-09-24 14:23:10 -0400 (Fri, 24 Sep 2010)
New Revision: 17965
Modified:
trunk/Open-ILS/xul/staff_client/server/cat/util.js
Log:
spawn item attribute editor instead of item notes UI during process missing pieces workflow
Modified: trunk/Open-ILS/xul/staff_client/server/cat/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/util.js 2010-09-24 18:13:17 UTC (rev 17964)
+++ trunk/Open-ILS/xul/staff_client/server/cat/util.js 2010-09-24 18:23:10 UTC (rev 17965)
@@ -770,6 +770,7 @@
if (r == 0) {
var count = 0;
+ JSAN.use('cat.util');
for (var i = 0; i < copies.length; i++) {
try {
var robj = network.simple_request('MARK_ITEM_MISSING_PIECES',[ses(),copies[i].id()]);
@@ -781,12 +782,7 @@
print.simple( robj.payload.slip.template_output().data() );
}
// Item Note
- win.open(
- urls.XUL_COPY_NOTES,
- $("catStrings").getString("staff.cat.copy_editor.copy_notes"),
- 'chrome,resizable,modal',
- { 'copy_id' : copies[i].id() }
- );
+ cat.util.spawn_copy_editor( { 'copy_ids' : [ copies[i].id() ], 'edit' : 1 } );
// Patron Message
var my_xulG = win.open(
urls.XUL_NEW_STANDING_PENALTY,
More information about the open-ils-commits
mailing list