]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/Combobox.class.php
Refactoring - removed unused stuff.
[timetracker.git] / WEB-INF / lib / form / Combobox.class.php
index 082765e826162d8ab8f4cd302d936d066ef42381..e253e8ec2e62f1ac9b97f80536e06a88a5501152 100644 (file)
@@ -65,28 +65,24 @@ class Combobox extends FormElement {
        function getDataKeys() { return $this->mDataKeys; }
        
        
-       function toStringControl()      {
-               if (!$this->isRenderable()) return "";
-           
+       function toStringControl() {
+
            if ($this->id=="") $this->id = $this->name;
            
                $html = "\n\t<select";
                $html .= " name=\"$this->name\" id=\"$this->id\"";
                
-               if ($this->mSize!="")
-                 $html .= " size=\"$this->mSize\"";
+               if ($this->size!="")
+                 $html .= " size=\"$this->size\"";
                 
                if ($this->mMultiple)
                  $html .= " multiple";
-                 
-               if ($this->mTabindex!="")
-                  $html .= " tabindex=\"$this->mTabindex\"";
-                  
-               if ($this->mOnChange!="")
-                  $html .= " onchange=\"$this->mOnChange\"";
+
+               if ($this->on_change!="")
+                  $html .= " onchange=\"$this->on_change\"";
                   
-               if ($this->mStyle!="")
-                  $html .= " style=\"$this->mStyle\"";
+               if ($this->style!="")
+                  $html .= " style=\"$this->style\"";
                 
                 if (!$this->isEnable())
                   $html .= " disabled";