Fixes
This commit is contained in:
parent
75de95acc3
commit
d5c3b25447
4 changed files with 296 additions and 79 deletions
21
ajax_list.js
21
ajax_list.js
|
|
@ -46,21 +46,8 @@ $=jQuery;
|
|||
}
|
||||
|
||||
this.order_field=0;
|
||||
|
||||
if(options.hasOwnProperty("order_field")) {
|
||||
|
||||
this.order_field=options.order_field;
|
||||
|
||||
}
|
||||
|
||||
this.order=0;
|
||||
|
||||
if(options.hasOwnProperty("order")) {
|
||||
|
||||
this.order=options.order;
|
||||
|
||||
}
|
||||
|
||||
arr_icon=['<i class="fa fa-arrow-down asc_icon" aria-hidden="true"></i>', '<i class="fa fa-arrow-up desc_icon" aria-hidden="true"></i>'];
|
||||
|
||||
var func=this;
|
||||
|
|
@ -204,6 +191,14 @@ $=jQuery;
|
|||
|
||||
});
|
||||
|
||||
if(options.hasOwnProperty("after_list")) {
|
||||
|
||||
after_list=options.after_list;
|
||||
|
||||
after_list();
|
||||
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
error: function (data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue