share/views/public/js/rbbt/table.js in rbbt-rest-1.4.13 vs share/views/public/js/rbbt/table.js in rbbt-rest-1.5.0

- old
+ new

@@ -97,41 +97,41 @@ this.options.ellipsis = false } //{{{ Pagination // - table.on('click', 'tfoot > tr > th > ul.table_pagination > li.num > a:not(.active)', function(link){ + table.on('click', 'tfoot > tr > th > .table_pagination > .num > a:not(.active)', function(link){ var link = $(this) var stat = tool._status() tool._update(stat.url, link.html(), stat.size, stat.field, stat.filter) return false }) - table.on('click', 'tfoot > tr > th > ul.table_pagination > li.arrow > a.prev', function(link){ + table.on('click', 'tfoot > tr > th > .table_pagination > .arrow > a.prev', function(link){ var stat = tool._status() if (stat.num > 1){ stat.num = stat.num - 1 } tool._update(stat.url, stat.num, stat.size, stat.field, stat.filter) return false }) - table.on('click', 'tfoot > tr > th > ul.table_pagination > li.arrow > a.next', function(evt){ + table.on('click', 'tfoot > tr > th > .table_pagination > .arrow > a.next', function(evt){ var stat = tool._status(); - var last = parseInt($(this).parents('ul.table_pagination').first().find('li.num').last().find('a').html()) + var last = parseInt($(this).parents('.table_pagination').first().find('.num').last().find('a').html()) if (stat.num < last){ stat.num = stat.num + 1 } tool._update(stat.url, stat.num, stat.size, stat.field, stat.filter) return false }) - table.on('click', 'tfoot > tr > th > ul.table_pagination > li.all', function(link){ + table.on('click', 'tfoot > tr > th > .table_pagination > .all', function(link){ var stat = tool._status() tool._update(stat.url, '', stat.size, stat.field, stat.filter) return false