make next button work
This commit is contained in:
@@ -38,8 +38,7 @@ var removalist = function() {
|
||||
|
||||
if ( id ) {
|
||||
$.extend( query, {
|
||||
"startkey_docid": id,
|
||||
"skip": 1
|
||||
"startkey": '"' + id + '"'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,11 @@ app.after = {
|
||||
$(e.target).addClass('selected');
|
||||
removalist.fetchRows(app.newest);
|
||||
});
|
||||
$( '.viewpanel-paging a' ).click(function( e ) {
|
||||
// var action = $(e.target).attr('id').split('paging-')[1];
|
||||
removalist.fetchRows(app.oldest);
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user