function viewList() {
dojo.style('searchProgress', 'visibility', 'hidden');
+ dojo.style('oils-acq-li-search-result-grid', 'visibility', 'visible');
var store = new dojo.data.ItemFileReadStore({data:jub.toStoreData(lineitems)});
var model = new dojox.grid.data.DojoData(
null, store, {rowsPerPage: 20, clientSort: true, query:{id:'*'}});
}
);
new openils.User().buildPermOrgSelector('CREATE_PURCHASE_ORDER', orderingAgencySelect);
+ //new openils.User().buildPermOrgTreePicker('CREATE_PURCHAE_ORDER', 'treee');
</script>
<table class='dijitTooltipTable'>
<tr>
searchAttr="shortname" name="ordering_agency" autocomplete="true" labelAttr='shortname'> </input>
</td>
</tr>
+ <!--
+ <tr>
+ <td><label for="name2">${_('Ordering Agency2:')}</label></td>
+ <td>
+ <input id='treee'> </input>
+ </td>
+ </tr>
+ -->
<tr>
<td colspan='2'>more creation options...</td>
</tr>
</table>
</div>
</div>
- ${jubgrid.jubgrid('oils-acq-lineitem', 'liGrid')}
+ <div id='oils-acq-li-search-result-grid' style='height:100%'>
+ ${jubgrid.jubgrid('oils-acq-li-search', 'liGrid')}
+ </div>
+ <script>dojo.style('oils-acq-li-search-result-grid', 'visibility', 'hidden');</script>
</%def>