From de4d79aab1b6a4a921656065424053a20de22cb6 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 11 Mar 2013 15:33:15 -0400 Subject: [PATCH] ACQ li ident apply link Signed-off-by: Bill Erickson Conflicts: Open-ILS/src/templates/acq/common/li_table.tt2 Signed-off-by: Bill Erickson --- Open-ILS/src/templates/acq/common/li_table.tt2 | 10 +++++++++- Open-ILS/web/js/ui/default/acq/common/li_table.js | 9 +++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Open-ILS/src/templates/acq/common/li_table.tt2 b/Open-ILS/src/templates/acq/common/li_table.tt2 index 6dc2bbcf9c..ae6a3af750 100644 --- a/Open-ILS/src/templates/acq/common/li_table.tt2 +++ b/Open-ILS/src/templates/acq/common/li_table.tt2 @@ -68,7 +68,15 @@ - [% l('Line Items') %] + + [% l('Line Items') %] + + + [% l('Apply Order Identifiers') %] + + + [% l('Items') %] [% l('Notes') %] [% l('Actions') %] 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 8b240653da..0114f8725f 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 @@ -83,10 +83,11 @@ function AcqLiTable() { ); this.vlAgent = new VLAgent(); - /* XXX TESTING XXX */ - dojo.byId('acq-lit-apply-changes').onclick = function() { - self.applyOrderIdentValues(); - }; + if (dojo.byId('acq-lit-apply-idents')) { + dojo.byId('acq-lit-apply-idents').onclick = function() { + self.applyOrderIdentValues(); + }; + } this.focusLineitem = new openils.CGI().param('focus_li'); -- 2.11.0