[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 202/219: ManageTable.js : change Manage.delet
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 202/219: ManageTable.js : change Manage.delete by Manage.remove, because delete is a reserved keyword |
Date: |
Mon, 18 Dec 2017 13:23:03 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 4db1e42ef0a16fed50a6fd8e830d43e050c8304b
Author: Dany De Bontridder <address@hidden>
Date: Wed Dec 13 09:44:49 2017 +0100
ManageTable.js : change Manage.delete by Manage.remove, because delete
is a reserved keyword
---
html/js/managetable.js | 2 +-
include/lib/manage_table_sql.class.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/html/js/managetable.js b/html/js/managetable.js
index a7d8b9c..afe2799 100644
--- a/html/js/managetable.js
+++ b/html/js/managetable.js
@@ -247,7 +247,7 @@ var ManageTable = function (p_table_name)
address@hidden call the ajax with action delete
address@hidden id (pk) of the data row
*/
- this.delete = function (p_id, p_ctl) {
+ this.remove = function (p_id, p_ctl) {
this.param['p_id'] = p_id;
this.param['action'] = 'delete';
this.param['ctl'] = p_ctl;
diff --git a/include/lib/manage_table_sql.class.php
b/include/lib/manage_table_sql.class.php
index 4234397..68437b0 100644
--- a/include/lib/manage_table_sql.class.php
+++ b/include/lib/manage_table_sql.class.php
@@ -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"));
- [Noalyss-commit] [noalyss] 165/219: Task #1476 : add an new column to TMP_PCMN Adapt the add and update for CFGPCMN Code cleaning : rewrite of Acc_Account + PhpUnit test, (continued)
- [Noalyss-commit] [noalyss] 165/219: Task #1476 : add an new column to TMP_PCMN Adapt the add and update for CFGPCMN Code cleaning : rewrite of Acc_Account + PhpUnit test, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 177/219: Repository add unique constraint for jnt_use_doc, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 159/219: INSTALL : check PHP version minimum 5.5, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 151/219: HttpInput: Exception if the type is not known, correct the use of numeric instead of number, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 218/219: Task #1506 : improve error message when adding a card, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 214/219: Esthetic CSS : add cursor pointer, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 210/219: Task #1381 Favori de filtre dans recherche, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 205/219: Accounting : error message if accounting is too large # Conflicts: # html/js/card.js, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 194/219: Select_box : fix position, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 176/219: Change autocomplete and adapt Icard setWidth is false + indicator icon for ICard, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 202/219: ManageTable.js : change Manage.delete by Manage.remove, because delete is a reserved keyword,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 181/219: Fix ID problem, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 163/219: Code cleaning, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 213/219: Code rewrite : move the function HtmlInput::select_ledger into Acc_Ledger_Search::select_ledger, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 197/219: Task #001381 : enlève , ajout de la nouvelle liste dans la liste, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 183/219: Icon move / fix, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 211/219: Bug : in recherche the ledger choice is transparent, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 162/219: Constant add an exception code for duplicate, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 190/219: Database : get_value throw an error if SQL failed, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 30/219: Task #0001443: opérations rapprochées : bug quand on utilise des tva avec autoliquidation 1. Correct export CSV 2. Improve code : new function Acc_Reconciliation:get_amount_noautovat, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 133/219: #0001414: LETTRAGE - montants différents non indiqués Les montants différents pour un lettrage sont marqués avec un triangle orange Changement des requêtes SQL , peut avoir un prob. de performance pour gros volume, Dany De Bontridder, 2017/12/18