Add divs required to hold pagination controls.
This commit is contained in:
parent
42ffd38de9
commit
712d4b8309
3 changed files with 6 additions and 3 deletions
|
|
@ -16,6 +16,7 @@
|
|||
- 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
|
||||
the screen. ( Martin Kamerbeek / Oqapi )
|
||||
- fixed #10646: Asset History not paginated
|
||||
|
||||
7.7.14
|
||||
- fixed #10606: shelf selector
|
||||
|
|
|
|||
|
|
@ -150,7 +150,9 @@ sub www_view {
|
|||
$output .= q|
|
||||
<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="dynamicdata"></div>
|
||||
<div id="paginationTop"></div>
|
||||
<div id="historyData"></div>
|
||||
<div id="paginationBot"></div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
YAHOO.util.Event.onDOMReady( WebGUI.AssetHistory.initManager );
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ WebGUI.AssetHistory.initManager = function (o) {
|
|||
*/
|
||||
WebGUI.AssetHistory.initDataTable = function (o) {
|
||||
var historyPaginator = new YAHOO.widget.Paginator({
|
||||
containers : ['pagination'],
|
||||
containers : ['paginationTop', 'paginationBot'],
|
||||
pageLinks : 7,
|
||||
rowsPerPage : 25,
|
||||
template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink}"
|
||||
|
|
@ -106,7 +106,7 @@ WebGUI.AssetHistory.initDataTable = function (o) {
|
|||
|
||||
// Initialize the data table
|
||||
WebGUI.AssetHistory.DataTable
|
||||
= new YAHOO.widget.DataTable( 'dynamicdata',
|
||||
= new YAHOO.widget.DataTable( 'historyData',
|
||||
WebGUI.AssetHistory.ColumnDefs,
|
||||
WebGUI.AssetHistory.DataSource,
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue