From 5ac6df20314906522414fdde8ec2920b2476fb80 Mon Sep 17 00:00:00 2001 From: senator Date: Thu, 22 Jul 2010 20:59:52 +0000 Subject: [PATCH] Acq: always show "add to new selection list" / "create new PO" buttons in related lineitems interface git-svn-id: svn://svn.open-ils.org/ILS/trunk@17012 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/css/skin/default/acq.css | 4 ++++ Open-ILS/web/js/ui/default/acq/lineitem/related.js | 5 ----- Open-ILS/web/templates/default/acq/lineitem/related.tt2 | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Open-ILS/web/css/skin/default/acq.css b/Open-ILS/web/css/skin/default/acq.css index 72d1c578a..664976ed1 100644 --- a/Open-ILS/web/css/skin/default/acq.css +++ b/Open-ILS/web/css/skin/default/acq.css @@ -181,6 +181,10 @@ span[name="notes_alert_flag"] {color: #c00;font-weight: bold;font-size: 110%;mar #acq-related-info-tbody td {padding:5px;} #acq-related-mini ul { list-style-type: square; } +#acq-related-li-create-holder { + margin-bottom: 16px; + padding-bottom: 12px; +} /* fiscal rollover ui */ #oils-acq-rollover-tooltip-table td { border-bottom: 2px solid #888 } diff --git a/Open-ILS/web/js/ui/default/acq/lineitem/related.js b/Open-ILS/web/js/ui/default/acq/lineitem/related.js index 9adbc8e48..f6f170b67 100644 --- a/Open-ILS/web/js/ui/default/acq/lineitem/related.js +++ b/Open-ILS/web/js/ui/default/acq/lineitem/related.js @@ -51,10 +51,6 @@ function fetchRelated() { liTable.show("list"); liTable.addLineitem(resp); } - }, - "oncomplete": function() { - if (!total) - openils.Util.show("li_create_holder"); } } ); @@ -101,7 +97,6 @@ function createLi(oncomplete) { }, "oncomplete": function() { progressDialog.hide(); - openils.Util.hide("li_create_holder"); oncomplete(); } } diff --git a/Open-ILS/web/templates/default/acq/lineitem/related.tt2 b/Open-ILS/web/templates/default/acq/lineitem/related.tt2 index 27d00e1e5..a260956cb 100644 --- a/Open-ILS/web/templates/default/acq/lineitem/related.tt2 +++ b/Open-ILS/web/templates/default/acq/lineitem/related.tt2 @@ -39,7 +39,7 @@ -