[open-ils-commits] r15270 - trunk/Open-ILS/web/js/ui/default/acq/common (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 7 12:01:49 EST 2010
Author: phasefx
Date: 2010-01-07 12:01:46 -0500 (Thu, 07 Jan 2010)
New Revision: 15270
Modified:
trunk/Open-ILS/web/js/ui/default/acq/common/li_table.js
Log:
fix Edit MARC Order Record action for Acquisitions within the staff client
Modified: trunk/Open-ILS/web/js/ui/default/acq/common/li_table.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/acq/common/li_table.js 2010-01-07 16:14:25 UTC (rev 15269)
+++ trunk/Open-ILS/web/js/ui/default/acq/common/li_table.js 2010-01-07 17:01:46 UTC (rev 15270)
@@ -1117,30 +1117,29 @@
if(openils.XUL.isXUL()) {
win = window.open('/xul/' + openils.XUL.buildId() + '/server/cat/marcedit.xul');
} else {
-
win = window.open('/xul/server/cat/marcedit.xul');
- var self = this;
- win.xulG = {
- record : {marc : li.marc()},
- save : {
- label: 'Save Record', // XXX I18N
- func: function(xmlString) {
- li.marc(xmlString);
- fieldmapper.standardRequest(
- ['open-ils.acq', 'open-ils.acq.lineitem.update'],
- { async: true,
- params: [openils.User.authtoken, li],
- oncomplete: function(r) {
- openils.Util.readResponse(r);
- win.close();
- self.drawInfo(li.id())
- }
- }
- );
- },
- }
- };
}
+ var self = this;
+ win.xulG = {
+ record : {marc : li.marc()},
+ save : {
+ label: 'Save Record', // XXX I18N
+ func: function(xmlString) {
+ li.marc(xmlString);
+ fieldmapper.standardRequest(
+ ['open-ils.acq', 'open-ils.acq.lineitem.update'],
+ { async: true,
+ params: [openils.User.authtoken, li],
+ oncomplete: function(r) {
+ openils.Util.readResponse(r);
+ win.close();
+ self.drawInfo(li.id())
+ }
+ }
+ );
+ },
+ }
+ };
}
this._savePl = function(values) {
More information about the open-ils-commits
mailing list