noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 204/219: Bug : when pressing on the template


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 204/219: Bug : when pressing on the template button, the input field to focus is not diplaid and the javascript gives an exception
Date: Mon, 18 Dec 2017 13:23:03 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit f3856bd0be443ce0c32b00cfb1956b32c03e6e85
Author: Dany De Bontridder <address@hidden>
Date:   Wed Dec 13 10:07:38 2017 +0100

    Bug : when pressing on the template button, the input field to focus
    is not diplaid and the javascript gives an exception
---
 include/class/pre_operation.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class/pre_operation.class.php 
b/include/class/pre_operation.class.php
index bcafad3..dbf8730 100644
--- a/include/class/pre_operation.class.php
+++ b/include/class/pre_operation.class.php
@@ -244,7 +244,7 @@ class Pre_operation_detail
      */
     function form_get ($p_url)
     {
-        $r=HtmlInput::button_action(_("Modèle d'opérations"), ' 
$(\'modele_op_div\').style.display=\'block\';$(\'lk_modele_op_tab\').focus();');
+        $r=HtmlInput::button_action(_("Modèle d'opérations"), ' 
$(\'modele_op_div\').style.display=\'block\';if ( $(\'lk_modele_op_tab\')) { 
$(\'lk_modele_op_tab\').focus();}');
         $r.='<div id="modele_op_div" class="noprint">';
         $r.=HtmlInput::title_box(_("Modèle d'opérations"), 'modele_op_div', 
'hide',"","n");
         $hid=new IHidden();



reply via email to

[Prev in Thread] Current Thread [Next in Thread]