projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ongoing refactoring of form controls.
[timetracker.git]
/
WEB-INF
/
lib
/
form
/
Combobox.class.php
diff --git
a/WEB-INF/lib/form/Combobox.class.php
b/WEB-INF/lib/form/Combobox.class.php
index
dcb84a2
..
0e8ec06
100644
(file)
--- a/
WEB-INF/lib/form/Combobox.class.php
+++ b/
WEB-INF/lib/form/Combobox.class.php
@@
-48,7
+48,7
@@
class Combobox extends FormElement {
function __construct($name,$value="")
{
function __construct($name,$value="")
{
- $this->
mName
= $name;
+ $this->
name
= $name;
$this->mValue = $value;
}
$this->mValue = $value;
}
@@
-68,10
+68,10
@@
class Combobox extends FormElement {
function toStringControl() {
if (!$this->isRenderable()) return "";
function toStringControl() {
if (!$this->isRenderable()) return "";
- if ($this->
mId=="") $this->mId = $this->mN
ame;
+ if ($this->
id=="") $this->id = $this->n
ame;
$html = "\n\t<select";
$html = "\n\t<select";
- $html .= " name=\"$this->
mName\" id=\"$this->mI
d\"";
+ $html .= " name=\"$this->
name\" id=\"$this->i
d\"";
if ($this->mSize!="")
$html .= " size=\"$this->mSize\"";
if ($this->mSize!="")
$html .= " size=\"$this->mSize\"";