Remove obsolete data attributes from filter box, add placeholder

This commit is contained in:
Thomas Gelf 2014-02-25 10:27:11 +00:00
parent ae62b261ba
commit 6ebe723f7e
1 changed files with 2 additions and 4 deletions

View File

@ -102,11 +102,9 @@ EOT;
'text',
'query',
array(
'label' => 'Filter Results',
// 'label' => 'Filter Results',
'name' => 'query',
'data-icinga-component' => 'app/semanticsearch',
'data-icinga-filter-domain' => $this->domain,
'data-icinga-filter-module' => $this->module
'placeholder' => 'Add filter'
)
);
$form->removeAttrib('data-icinga-component');