[open-ils-commits] r10309 - in
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb:
public/oils/media/css/skin
public/oils/media/ui_js/oils/default/acq/receiving
templates/oils/default/acq/receiving templates/oils/default/common
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Aug 8 09:18:45 EDT 2008
Author: erickson
Date: 2008-08-08 09:18:43 -0400 (Fri, 08 Aug 2008)
New Revision: 10309
Modified:
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/css/skin/default.css
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/receiving/process.js
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/receiving/process.html
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html
Log:
small pile of fixes.. css, plugged in LI state in retrieve search, added some grid css (still needs more work)
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/css/skin/default.css
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/css/skin/default.css 2008-08-07 20:37:48 UTC (rev 10308)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/css/skin/default.css 2008-08-08 13:18:43 UTC (rev 10309)
@@ -24,7 +24,7 @@
padding:0;
}
-.invisible { visibility: none; }
+.invisible { visibility: hidden; }
.hidden { display: none; visibility: hidden; }
.display { display: block; visibility: visible; }
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/receiving/process.js
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/receiving/process.js 2008-08-07 20:37:48 UTC (rev 10308)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/receiving/process.js 2008-08-08 13:18:43 UTC (rev 10309)
@@ -13,13 +13,16 @@
var lineitems = [];
function drawForm() {
+ new openils.User().buildPermOrgSelector('VIEW_PURCHASE_ORDER', orderingAgencySelector);
}
+dojo.addOnLoad(drawForm);
var liReceived;
function doSearch(values) {
var search = {
attr_values : [values.identifier],
po_agencies : (values.ordering_agency) ? [values.ordering_agency] : null,
+ li_states : ['in-process']
};
options = {clear_marc:1, flesh_attrs:1};
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/receiving/process.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/receiving/process.html 2008-08-07 20:37:48 UTC (rev 10308)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/receiving/process.html 2008-08-08 13:18:43 UTC (rev 10309)
@@ -32,8 +32,8 @@
<td><label for='ordering_agency'>${_('Ordering Agency')}</label></td>
<td>
<!-- make it a multi-select ? -->
- <select dojoType='dijit.form.FilteringSelect' name='ordering_agency'
- labalAttr='code' searchAttr='code' jsId='orderingAgencySelector'>
+ <select dojoType="openils.widget.OrgUnitFilteringSelect" jsId='orderingAgencySelector'
+ searchAttr="shortname" name="ordering_agency" autocomplete="true" labelAttr='shortname'> </select>
</select>
</td>
</tr>
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html 2008-08-07 20:37:48 UTC (rev 10308)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html 2008-08-08 13:18:43 UTC (rev 10309)
@@ -43,6 +43,10 @@
activeSizing="1" layoutAlign="client">
% endif
+ <style type='text/css'>
+ .grid_container {width: 100%; height: 100%;}
+ </style>
+
<script src='${c.oils.core.media_prefix.value}/ui_js/oils/default/common/jubgrid.js'> </script>
<script src='${c.oils.core.media_prefix.value}/js/dojo/openils/CopyLocation.js'> </script>
<script type="text/javascript">
@@ -140,8 +144,10 @@
</button>
</div>
% endif
- <div structure='JUBGrid.jubGridLayout' jsid='${grid_jsid}'
- dojoType='dojox.Grid' id="${domprefix + '-JUB-grid'}">
+ <div dojoType="dijit.layout.ContentPane" class='grid_container'>
+ <div structure='JUBGrid.jubGridLayout' jsid='${grid_jsid}'
+ dojoType='dojox.Grid' id="${domprefix + '-JUB-grid'}">
+ </div>
</div>
% if not hide_details:
</div>
@@ -192,8 +198,10 @@
${_('Mark Selected Copies Received')}
</button>
</div>
- <div structure='JUBGrid.jubDetailGridLayout' jsid="JUBGrid.jubDetailGrid" dojoType="dojox.Grid"
- id='${domprefix + "-details-grid"}'>
+ <div dojoType="dijit.layout.ContentPane" class='grid_container'>
+ <div structure='JUBGrid.jubDetailGridLayout' jsid="JUBGrid.jubDetailGrid" dojoType="dojox.Grid"
+ id='${domprefix + "-details-grid"}'>
+ </div>
</div>
</div>
</div>
More information about the open-ils-commits
mailing list