Add divs required to hold pagination controls.

This commit is contained in:
Colin Kuskie 2009-07-15 17:25:20 +00:00
parent 42ffd38de9
commit 712d4b8309
3 changed files with 6 additions and 3 deletions

View file

@ -16,6 +16,7 @@
- fixed a bug in My Purchases where in store credit would not be taken into - fixed a bug in My Purchases where in store credit would not be taken into
account in the overview yielding zero or neagtive transaction amounts on account in the overview yielding zero or neagtive transaction amounts on
the screen. ( Martin Kamerbeek / Oqapi ) the screen. ( Martin Kamerbeek / Oqapi )
- fixed #10646: Asset History not paginated
7.7.14 7.7.14
- fixed #10606: shelf selector - fixed #10606: shelf selector

View file

@ -150,7 +150,9 @@ sub www_view {
$output .= q| $output .= q|
<div class="yui-skin-sam"> <div class="yui-skin-sam">
<div id="search"><form id="keywordSearchForm"><input type="text" name="keywords" id="keywordsField" /><input type="submit" value="|.$i18n->get(364, 'WebGUI').q|" /></form></div> <div id="search"><form id="keywordSearchForm"><input type="text" name="keywords" id="keywordsField" /><input type="submit" value="|.$i18n->get(364, 'WebGUI').q|" /></form></div>
<div id="dynamicdata"></div> <div id="paginationTop"></div>
<div id="historyData"></div>
<div id="paginationBot"></div>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
YAHOO.util.Event.onDOMReady( WebGUI.AssetHistory.initManager ); YAHOO.util.Event.onDOMReady( WebGUI.AssetHistory.initManager );

View file

@ -68,7 +68,7 @@ WebGUI.AssetHistory.initManager = function (o) {
*/ */
WebGUI.AssetHistory.initDataTable = function (o) { WebGUI.AssetHistory.initDataTable = function (o) {
var historyPaginator = new YAHOO.widget.Paginator({ var historyPaginator = new YAHOO.widget.Paginator({
containers : ['pagination'], containers : ['paginationTop', 'paginationBot'],
pageLinks : 7, pageLinks : 7,
rowsPerPage : 25, rowsPerPage : 25,
template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink}" template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink}"
@ -106,7 +106,7 @@ WebGUI.AssetHistory.initDataTable = function (o) {
// Initialize the data table // Initialize the data table
WebGUI.AssetHistory.DataTable WebGUI.AssetHistory.DataTable
= new YAHOO.widget.DataTable( 'dynamicdata', = new YAHOO.widget.DataTable( 'historyData',
WebGUI.AssetHistory.ColumnDefs, WebGUI.AssetHistory.ColumnDefs,
WebGUI.AssetHistory.DataSource, WebGUI.AssetHistory.DataSource,
{ {