ManageTable.js : change Manage.delete by Manage.remove, because delete

is a reserved keyword
This commit is contained in:
Dany De Bontridder 2017-12-13 09:44:49 +01:00
parent e9d8bd74de
commit 4db1e42ef0
2 changed files with 2 additions and 2 deletions

View file

@ -702,7 +702,7 @@ function check()
if ($this->can_delete_row())
{
echo "<td>";
$js=sprintf("%s.delete('%s','%s');", $this->object_name,
$js=sprintf("%s.remove('%s','%s');", $this->object_name,
$p_row[$this->table->primary_key], $this->object_name
);
echo HtmlInput::image_click("trash-24.gif", $js, _("Effacer"));