Revert "Clear/reset the XHR notice form on pages where there is no timeline"
This reverts commit d318976342
.
This commit is contained in:
parent
d318976342
commit
5963c140d6
10
js/util.js
10
js/util.js
@ -243,12 +243,12 @@ var SN = { // StatusNet
|
|||||||
SN.U.FormXHR($('#'+notice.id+' .form_favor'));
|
SN.U.FormXHR($('#'+notice.id+' .form_favor'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$('#'+form_id+' #'+SN.C.S.NoticeDataText).val('');
|
||||||
|
$('#'+form_id+' #'+SN.C.S.NoticeDataAttach).val('');
|
||||||
|
$('#'+form_id+' #'+SN.C.S.NoticeInReplyTo).val('');
|
||||||
|
$('#'+form_id+' #'+SN.C.S.NoticeDataAttachSelected).remove();
|
||||||
|
SN.U.FormNoticeEnhancements($('#'+form_id));
|
||||||
}
|
}
|
||||||
$('#'+form_id+' #'+SN.C.S.NoticeDataText).val('');
|
|
||||||
$('#'+form_id+' #'+SN.C.S.NoticeDataAttach).val('');
|
|
||||||
$('#'+form_id+' #'+SN.C.S.NoticeInReplyTo).val('');
|
|
||||||
$('#'+form_id+' #'+SN.C.S.NoticeDataAttachSelected).remove();
|
|
||||||
SN.U.FormNoticeEnhancements($('#'+form_id));
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
complete: function(xhr, textStatus) {
|
complete: function(xhr, textStatus) {
|
||||||
|
Loading…
Reference in New Issue
Block a user