generated from smedev/Template-for-SMEServer-Contribs-Package
Update to latest js components
This commit is contained in:
@@ -11,10 +11,15 @@ $(window).on('pageshow', function(){
|
||||
"processing":'" style="color: rgba(42, 43, 43, 1)">Loading... ',
|
||||
"error": function (xhr, error, thrown) {alert("Error occurred while loading data. Please try again.");}
|
||||
},
|
||||
"dom": '<"top"lBf<"clear">>rt<"bottom"ip<"clear">>',
|
||||
"buttons": ['copy', 'csv', 'excel', 'pdf', 'print'],
|
||||
"headerCallback": function( thead, data, start, end, display ) {
|
||||
setup_table_row_buttons();
|
||||
},
|
||||
"layout": {
|
||||
"topStart": 'buttons',
|
||||
"topEnd": 'search',
|
||||
"bottomStart": 'pageLength',
|
||||
"bottomEnd": 'paging'
|
||||
}
|
||||
});
|
||||
|
||||
@@ -26,4 +31,4 @@ $(window).on('pageshow', function(){
|
||||
$(".sme-lock-button").button({"icon": "ui-icon-key"});
|
||||
$(".sme-email-button").button({"icon": "ui-icon-mail-closed"});
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user