Skip to content

Commit

Permalink
changing to a button as it was not working at all in IE fixes #207
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Jul 11, 2010
1 parent e508317 commit 6012d81
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
13 changes: 9 additions & 4 deletions extensions/filter/views/helpers/filter.php
Expand Up @@ -36,13 +36,18 @@ function form($model, $filter = array()){
}
}

$output .= $this->Form->submit($this->Image->getRelativePath(array('actions'), 'filter'),
$output .= $this->Form->button(
$this->Html->image(
$this->Image->getRelativePath(array('actions'), 'filter'),
array(
'width' => '16px'
)
),
array(
'value' => 'filter',
'name' => 'action',
'title' => 'Filter results',
'div' => false,
'width' => '16px'
'title' => $this->niceTitleText('Filter results'),
'div' => false
)
);
$output .= '</div>';
Expand Down
1 change: 1 addition & 0 deletions webroot/css/form.css
Expand Up @@ -11,6 +11,7 @@ legend {font:1.5em/1 "Trebuchet MS",Helvetica,Jamrul,sans-serif; color:#000;}
.textfield input:focus:hover, .file input:focus:hover, .dropdown select:focus:hover, .textarea textarea:focus:hover, div input.innertextfield:focus:hover {border-color:orange;}
.checkbox input, .radio input {border:none; background:transparent;}
button {font:1.2em/1 Verdana,Geneva,Kalimati,sans-serif; border:1px solid #666; background:#666; color:#fff;}
.filter-form button{background: transparent; border:0px solid black;}
button:hover {border-color:#000; color:orange;}
optgroup {font:bold 1em/1 Verdana,Geneva,Kalimati,sans-serif;}
option {font:1em/1 Verdana,Geneva,Kalimati,sans-serif;}
Expand Down

0 comments on commit 6012d81

Please sign in to comment.