Skip to content

Commit

Permalink
🐛 #216 parte da correção
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Feb 29, 2020
1 parent 8cc0acb commit 3519a40
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions base/classes/webform/TForm.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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' );
Expand All @@ -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 );
Expand Down

0 comments on commit 3519a40

Please sign in to comment.