Fixes in ajax
This commit is contained in:
parent
e966aa492a
commit
75de95acc3
2 changed files with 15 additions and 2 deletions
13
ajax_list.js
13
ajax_list.js
|
|
@ -46,8 +46,21 @@ $=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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue