diff --git a/html/js/managetable.js b/html/js/managetable.js
index da5b8605f..78c2ddd60 100644
--- a/html/js/managetable.js
+++ b/html/js/managetable.js
@@ -76,6 +76,7 @@ var ManageTable = function (p_table_name)
this.control = "dtr"; //search_table=true;
$this->button_add_top=true;
$this->title=_("Donnée");
+ $this->cssclass="inner_box";
+
}
+ function setCssClass($p_class) {
+ $this->cssclass=$p_class;
+ }
+ function getCssClass() {
+ return $this->cssclass;
+ }
/**
* Set the title of the diabox , default is Donnée
* @param type $p_title
@@ -450,6 +460,7 @@ function check()
{$this->object_name}.set_sort({$this->get_col_sort()});
{$this->object_name}.set_control(\"{$this->get_dialog_box()}\");
{$this->object_name}.set_style($style);
+ {$this->object_name}.cssclass=\"{$this->cssclass}\";
";
@@ -978,7 +989,10 @@ function check()
/**
* @brief display into a dialog box the datarow in order
* to be appended or modified. Can be override if you need
- * a more complex form.
+ * a more complex form or add elements with "set_order" before
+ * calling this function.
+ * This function does not add the form , only the table,
+ *
*/
function input()
{