fix only hide copy icon when text field set

This commit is contained in:
Oliver Gorwits
2012-04-09 18:22:40 +01:00
parent 5ee634296a
commit bec395c2d0

View File

@@ -10,7 +10,9 @@
// and strikethrough the navbar search
function device_form_state(e) {
if (e.is('[value!=""]')) {
$('.field_copy_icon').hide();
if (e.attr('type') == 'text') {
$('.field_copy_icon').hide();
}
e.parent(".clearfix").addClass('success');
$('#nq').css('text-decoration', 'line-through');