[open-ils-commits] r17012 - in trunk/Open-ILS/web: css/skin/default js/ui/default/acq/lineitem templates/default/acq/lineitem (senator)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jul 22 16:59:58 EDT 2010
Author: senator
Date: 2010-07-22 16:59:52 -0400 (Thu, 22 Jul 2010)
New Revision: 17012
Modified:
trunk/Open-ILS/web/css/skin/default/acq.css
trunk/Open-ILS/web/js/ui/default/acq/lineitem/related.js
trunk/Open-ILS/web/templates/default/acq/lineitem/related.tt2
Log:
Acq: always show "add to new selection list" / "create new PO" buttons in
related lineitems interface
Modified: trunk/Open-ILS/web/css/skin/default/acq.css
===================================================================
--- trunk/Open-ILS/web/css/skin/default/acq.css 2010-07-22 01:06:59 UTC (rev 17011)
+++ trunk/Open-ILS/web/css/skin/default/acq.css 2010-07-22 20:59:52 UTC (rev 17012)
@@ -181,6 +181,10 @@
#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 }
Modified: trunk/Open-ILS/web/js/ui/default/acq/lineitem/related.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/acq/lineitem/related.js 2010-07-22 01:06:59 UTC (rev 17011)
+++ trunk/Open-ILS/web/js/ui/default/acq/lineitem/related.js 2010-07-22 20:59:52 UTC (rev 17012)
@@ -51,10 +51,6 @@
liTable.show("list");
liTable.addLineitem(resp);
}
- },
- "oncomplete": function() {
- if (!total)
- openils.Util.show("li_create_holder");
}
}
);
@@ -101,7 +97,6 @@
},
"oncomplete": function() {
progressDialog.hide();
- openils.Util.hide("li_create_holder");
oncomplete();
}
}
Modified: trunk/Open-ILS/web/templates/default/acq/lineitem/related.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/acq/lineitem/related.tt2 2010-07-22 01:06:59 UTC (rev 17011)
+++ trunk/Open-ILS/web/templates/default/acq/lineitem/related.tt2 2010-07-22 20:59:52 UTC (rev 17012)
@@ -39,7 +39,7 @@
</li>
</ul>
- <div id="li_create_holder" class="hidden">
+ <div id="acq-related-li-create-holder">
<button jsId="addToPlButton" dojoType="dijit.form.Button">
Add to New Selection List
</button>
More information about the open-ils-commits
mailing list