share/views/public/js/rbbt/table.js in rbbt-rest-1.8.113 vs share/views/public/js/rbbt/table.js in rbbt-rest-1.8.114
- old
+ new
@@ -51,10 +51,11 @@
url = rbbt.url_add_script_name(url)
url = add_parameter(url, '_page', escape(format_page(num, size, field)))
url = add_parameter(url, '_format', 'table')
if (undefined != filter){ url = add_parameter(url, '_filter', escape(filter)) }
+ console.log(url)
replace_object(table, url, true, function(){
table.attr('attr-page', format_page(num, size, field)).attr('rbbt-update_tags','')
update_rbbt();
if (undefined === complete){
@@ -67,10 +68,11 @@
},
_status: function(){
var table = this.element
- var url = table.attr('attr-url')
+ //var url = table.attr('attr-url')
+ var url = table.find('.table_url > a').attr('href')
var page = table.attr('attr-page')
var filter = table.attr('attr-filter')
var total = parseInt(table.attr('attr-total_size'))