|
|
|
@ -111,6 +111,15 @@ function deleteSSD(){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
<%--
|
|
|
|
|
$('#definitionsTable_processing')
|
|
|
|
|
.on( 'processing.dt', function ( e, settings, processing ) {
|
|
|
|
|
$('#processingIndicator').css( 'display', processing ? 'block' : 'none' );
|
|
|
|
|
} )
|
|
|
|
|
.dataTable(); --%>
|
|
|
|
|
|
|
|
|
|
$('#definitionsTable_processing').css( 'display', 'block');
|
|
|
|
|
|
|
|
|
|
var deleteUrl='<%=ssdDeleteURL.toString()%>';
|
|
|
|
|
deleteUrl= deleteUrl.replace("clientIdValue",rowSelected["0"]["ClientId"]);
|
|
|
|
|
deleteUrl= deleteUrl.replace("descriptionValue",rowSelected["0"]["Description"]);
|
|
|
|
@ -125,7 +134,7 @@ function refreshSSD(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$.fn.dataTable.ext.buttons.createSSD = {
|
|
|
|
|
text: '<span class="material-icons">add_circle_outline</span>',
|
|
|
|
|
text: '<span class="material-icons">add_circle_outline</span><span class="circle_button_text">Create</span>',
|
|
|
|
|
action: function ( e, dt, node, config ) {
|
|
|
|
|
createSSD();
|
|
|
|
|
},
|
|
|
|
@ -136,7 +145,7 @@ $.fn.dataTable.ext.buttons.createSSD = {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$.fn.dataTable.ext.buttons.deleteSSD = {
|
|
|
|
|
text: '<span class="material-icons">remove_circle_outline</span>',
|
|
|
|
|
text: '<span class="material-icons">remove_circle_outline</span><span class="circle_button_text">Delete</span>',
|
|
|
|
|
action: function ( e, dt, node, config ) {
|
|
|
|
|
deleteSSD();
|
|
|
|
|
},
|
|
|
|
@ -147,7 +156,7 @@ $.fn.dataTable.ext.buttons.deleteSSD = {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$.fn.dataTable.ext.buttons.refreshSSD = {
|
|
|
|
|
text: '<span class="material-icons">refresh</span>',
|
|
|
|
|
text: '<span class="material-icons">refresh</span><span class="circle_button_text">Refresh</span>',
|
|
|
|
|
action: function ( e, dt, node, config ) {
|
|
|
|
|
refreshSSD();
|
|
|
|
|
},
|
|
|
|
@ -186,12 +195,14 @@ function mainTable() {
|
|
|
|
|
'createSSD','deleteSSD','refreshSSD'
|
|
|
|
|
],
|
|
|
|
|
processing: true,
|
|
|
|
|
oLanguage: {sProcessing: "<div id='loader'></div>"},
|
|
|
|
|
serverSide: true,
|
|
|
|
|
searching: true,
|
|
|
|
|
ordering: true,
|
|
|
|
|
|
|
|
|
|
"order": [],
|
|
|
|
|
search: {
|
|
|
|
|
return: true
|
|
|
|
|
"return": true
|
|
|
|
|
},
|
|
|
|
|
"language": {
|
|
|
|
|
"emptyTable": "Empty",
|
|
|
|
|