From 3519a40210a786cd21c0d2a350e42b7c550a325d Mon Sep 17 00:00:00 2001 From: Bjverde Date: Sat, 29 Feb 2020 20:42:55 -0300 Subject: [PATCH] =?UTF-8?q?:bug:=20#216=20parte=20da=20corre=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/classes/webform/TForm.class.php | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/base/classes/webform/TForm.class.php b/base/classes/webform/TForm.class.php index 369f66f5..c7dbbd47 100644 --- a/base/classes/webform/TForm.class.php +++ b/base/classes/webform/TForm.class.php @@ -7319,14 +7319,16 @@ public function addColorPickerField( $strName, $strLabel=null, $boolRequired=nul * @param mixed $jsOnClick -11: * @param mixed $jsOnCheck -12: * @param mixed $jsOnDrag -13: - * @param mixed $boolEnableCheckBoxes - 14 : Habilita campo Checks - * @param mixed $boolEnableRadioButtons - * @param mixed $boolEnableTreeLines - * @param mixed $strLabel - * @param mixed $boolLabelAbove - * @param mixed $boolNewLine - * @param mixed $boolNoWrapLabel - * @param mixed $mixFormSearchFields + * @param mixed $boolEnableCheckBoxes - 14: Habilita campo Checks + * @param mixed $boolEnableRadioButtons - 15: + * @param mixed $boolEnableTreeLines -16: + * @param mixed $strLabel -17: + * @param mixed $boolLabelAbove -18: + * @param mixed $boolNewLine -19: + * @param mixed $boolNoWrapLabel -20: + * @param mixed $mixFormSearchFields -21: + * @param mixed $boolShowToolBar -22: + * @param mixed $startExpanded -23: Se o TreeView deve iniciar expandido ou não * @return TTreeView */ public function addTreeField( $strName @@ -7350,7 +7352,10 @@ public function addTreeField( $strName , $boolLabelAbove = null , $boolNewLine = null , $boolNoWrapLabel = null - , $mixFormSearchFields=null ) + , $mixFormSearchFields=null + , $boolShowToolBar=null + , $startExpanded=null + ) { $this->addJsFile( 'dhtmlx/dhtmlxcommon.js' ); $this->addJsFile( 'dhtmlx/treeview/dhtmlxtree.js' ); @@ -7366,7 +7371,10 @@ public function addTreeField( $strName , $boolEnableCheckBoxes , $boolEnableRadioButtons , $boolEnableTreeLines - , $mixFormSearchFields ); + , $mixFormSearchFields + , $boolShowToolBar + , $startExpanded + ); //$tree->addItem(0,1,'Animal',true,'Animais'); $display = new TDisplayControl( $strLabel, $tree, $boolLabelAbove, $boolNewLine, $boolNoWrapLabel ); $this->addDisplayControl( $display );