[svn r20260] FS#4146 - Fixing html-code generation for nice-styled buttons.

skala
Ivan Tcholakov 16 years ago
parent ffe3502562
commit 3e8343fb06
  1. 2
      main/inc/lib/formvalidator/Element/style_button.php

@ -173,7 +173,7 @@ class HTML_QuickForm_stylebutton extends HTML_QuickForm_element
if ($this->_flagFrozen) {
return $this->getFrozenHtml();
} else {
return $this->_getTabs() . '<button' . $this->_getAttrString($this->_attributes) . ' />'.$this->getValue() .'</button>';
return $this->_getTabs() . '<button' . $this->_getAttrString($this->_attributes) . ' >'.$this->getValue() .'</button>';
}
} //end func toHtml

Loading…
Cancel
Save