Commit a5df2a47 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3041 divSelectBox should take an html id in its constructor

Showing with 5 additions and 1 deletion
+5 -1
......@@ -36,17 +36,20 @@ class divSelectBox
var $summary;
var $cols;
private $id;
// Members for page managment
var $height = '200px';
/*!
* \brief Default divSelectBox constructor
*/
function __construct()
function __construct($id)
{
$this->s_summary = '';
$this->a_entries = array();
$this->cols = 0;
$this->id = $id;
}
/*!
......@@ -93,6 +96,7 @@ class divSelectBox
$s_return .= '<div style="overflow:auto; width:100%; height:100%;">'."\n";
$s_return .= '<table '.
'class="listingTable" '.
'id="'.$this->id.'" '.
'style="overflow:scroll; '.
'height:98%; '.
'width:100%; '.
......
  • bmortier @bmortier

    mentioned in issue #1029

    By Côme Chilliet on 2017-09-02T15:09:18 (imported from GitLab)

    ·

    mentioned in issue #1029

    By Côme Chilliet on 2017-09-02T15:09:18 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment