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.='