diff --git a/html/js/card.js b/html/js/card.js index 71c78754a..ad5cde65e 100644 --- a/html/js/card.js +++ b/html/js/card.js @@ -802,7 +802,7 @@ function dis_blank_card(obj) var content='div_new_card'; var nTop=calcy(150); var nLeft=posX; - var str_style="top:"+nTop+"px;right:"+nLeft+"px;height:auto"; + var str_style="top:"+nTop+"px;right:"+nLeft+"px;height:auto;width:45rem;"; var popup={'id': content,'cssclass':'inner_box','style':str_style,'html':loading(),'drag':false}; diff --git a/include/ajax/ajax_card.php b/include/ajax/ajax_card.php index d534a6b39..44484287e 100644 --- a/include/ajax/ajax_card.php +++ b/include/ajax/ajax_card.php @@ -202,7 +202,7 @@ case 'bc': /* get cat. name */ $cat_name=$cn->get_value('select fd_label from fiche_def where fd_id=$1', array($fd_id)); - $r=HtmlInput::title_box($cat_name, $ctl); + $r=HtmlInput::title_box($cat_name, $ctl,p_draggable:true); $f=new Fiche($cn); $r.='
'; $r.=dossier::hidden(); diff --git a/include/class/card_property.class.php b/include/class/card_property.class.php index 33205ea06..60f90d5cc 100644 --- a/include/class/card_property.class.php +++ b/include/class/card_property.class.php @@ -178,14 +178,14 @@ class Card_Property $result['label']->name = "av_text" . $this->ad_id . "_label"; $p_fiche_def->load(); if ($a['account_auto'] == 't') { - $result['msg'] .= $result['label']->input() . " " . + $result['msg'] .= $result['label']->input() . " " . _("Rappel: Poste créé automatiquement à partir de ") . $p_fiche_def->class_base . " "; } else { // if there is a class base in fiche_def_ref, this account will be the // the default one if (noalyss_strlentrim($p_fiche_def->class_base) != 0) { - $result['msg'] .= " " . _("Rappel: Poste par défaut sera ") . + $result['msg'] .= " " . _("Rappel: Poste par défaut sera ") . $p_fiche_def->class_base . " ! "; $result['input']->value = (empty ($result['input']->value)) ?$p_fiche_def->class_base:$result['input']->value;