Index: trunk/extensions/SemanticForms/includes/forminputs/SF_TextInput.php |
— | — | @@ -62,7 +62,7 @@ |
63 | 63 | |
64 | 64 | $cssClasses = array( 'sfFancyBox', 'sfUploadable' ); |
65 | 65 | |
66 | | - $showPreview = array_key_exists( 'imagepreview', $other_args ) && trim( $other_args['imagepreview'] == 'on' ); |
| 66 | + $showPreview = array_key_exists( 'imagepreview', $other_args ); |
67 | 67 | |
68 | 68 | if ( $showPreview ) { |
69 | 69 | $cssClasses[] = 'sfImagePreview'; |