From 05bd2c2665379eee1573dfbf9fa461ea29694566 Mon Sep 17 00:00:00 2001 From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Thu, 7 Jan 2010 17:01:46 +0000 Subject: [PATCH] fix Edit MARC Order Record action for Acquisitions within the staff client git-svn-id: svn://svn.open-ils.org/ILS/trunk@15270 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/ui/default/acq/common/li_table.js | 43 +++++++++++------------ 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/Open-ILS/web/js/ui/default/acq/common/li_table.js b/Open-ILS/web/js/ui/default/acq/common/li_table.js index 43ec2e8ff8..5bf469f16b 100644 --- a/Open-ILS/web/js/ui/default/acq/common/li_table.js +++ b/Open-ILS/web/js/ui/default/acq/common/li_table.js @@ -1117,30 +1117,29 @@ function AcqLiTable() { 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) { -- 2.11.0