diff --git a/html/js/managetable.js b/html/js/managetable.js index 9dfed0b8b..1e84a54c7 100644 --- a/html/js/managetable.js +++ b/html/js/managetable.js @@ -178,7 +178,7 @@ var ManageTable = function (p_table_name) smoke.alert("Changement impossible"); throw "error in save"; } - alternate_row("tb"+answer['ctl']); + alternate_row_color("tb"+answer['ctl']); remove_waiting_box(); $("dtr").hide(); } catch (e) { @@ -212,7 +212,7 @@ var ManageTable = function (p_table_name) if (answer['status'] == 'OK') { var x=answer['ctl_row']; $(x).hide(); - alternate_row("tb"+answer['ctl']); + alternate_row_color("tb"+answer['ctl']); }else { smoke.alert("Effacement impossible"); } diff --git a/html/js/scripts.js b/html/js/scripts.js index c1ac848f6..83054b9bb 100644 --- a/html/js/scripts.js +++ b/html/js/scripts.js @@ -2941,7 +2941,7 @@ window.onload=function () * @brief Colorize the rows of the table * @param string p_table id of the table */ -function alternate_row(p_table) +function alternate_row_color(p_table) { var len = $(p_table).tBodies[0].rows.length; var i = 0; diff --git a/include/lib/class_manage_table_sql.php b/include/lib/class_manage_table_sql.php index 87432cb66..1964e158c 100644 --- a/include/lib/class_manage_table_sql.php +++ b/include/lib/class_manage_table_sql.php @@ -423,7 +423,7 @@ class Manage_Table_SQL sprintf("%s.input('-1','%s')", $this->object_name, $this->object_name)); } - printf ('', $this->object_name); + printf ('', $this->object_name); } /**