mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-14 01:20:27 +00:00
Fix delete button in records table. #91
This commit is contained in:
parent
198f934138
commit
2cf88739b9
@ -67,7 +67,7 @@ function saveRow(oTable, nRow) {
|
|||||||
|
|
||||||
var record = jqInputs[0].value;
|
var record = jqInputs[0].value;
|
||||||
var button_edit = "<button type=\"button\" class=\"btn btn-flat btn-warning button_edit\" id=\"" + record + "\">Edit <i class=\"fa fa-edit\"></i></button>"
|
var button_edit = "<button type=\"button\" class=\"btn btn-flat btn-warning button_edit\" id=\"" + record + "\">Edit <i class=\"fa fa-edit\"></i></button>"
|
||||||
var button_delete = "<button type=\"button\" class=\"btn btn-flat btn-danger button_edit\" id=\"" + record + "\">Delete <i class=\"fa fa-trash\"></i></button>"
|
var button_delete = "<button type=\"button\" class=\"btn btn-flat btn-danger button_delete\" id=\"" + record + "\">Delete <i class=\"fa fa-trash\"></i></button>"
|
||||||
|
|
||||||
oTable.cell(nRow,5).data(button_edit);
|
oTable.cell(nRow,5).data(button_edit);
|
||||||
oTable.cell(nRow,6).data(button_delete);
|
oTable.cell(nRow,6).data(button_delete);
|
||||||
|
Loading…
Reference in New Issue
Block a user