merged
Fixed display:none and clear inputfield.