diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/util.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/util.js b/js/util.js index 259d56659..c6e546bd0 100644 --- a/js/util.js +++ b/js/util.js @@ -249,9 +249,7 @@ var SN = { // StatusNet form.append('<p class="success">'+result_title+'</p>'); } } - $('#'+form_id+' #'+SN.C.S.NoticeDataText).val(''); - $('#'+form_id+' #'+SN.C.S.NoticeDataAttach).val(''); - $('#'+form_id+' #'+SN.C.S.NoticeInReplyTo).val(''); + $('#'+form_id).resetForm(); $('#'+form_id+' #'+SN.C.S.NoticeDataAttachSelected).remove(); SN.U.FormNoticeEnhancements($('#'+form_id)); } |