]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/Table.class.php
Refactoring - removed unused stuff.
[timetracker.git] / WEB-INF / lib / form / Table.class.php
index 44685d46c9b029ba056fe1966e28944ad3bab790..e0930095bc6e2637a5453aca16fedc5c46a42bab 100644 (file)
@@ -95,9 +95,9 @@ class Table extends FormElement {
   }
 
   function _process() {
-       $this->mProccessed = true;
+    $this->mProccessed = true;
        
-       if ($this->mInteractive) {
+    if ($this->mInteractive) {
       // Add a column of clickable checkboxes.
       $column = new TableColumn("","<input type=\"checkbox\" name=\"".$this->getName()."_all\" onclick=\"setAll(this.checked)\">");
       import('form.CheckboxCellRenderer');
@@ -115,7 +115,6 @@ class Table extends FormElement {
   }
   
   function toStringControl() {
-    if (!$this->isRenderable()) return "";
     if (!$this->mProccessed) $this->_process();
     
     $html = "";