diff options
author | Sarven Capadisli <csarven@status.net> | 2009-11-02 17:19:08 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-11-02 17:19:08 +0000 |
commit | 4aa6deb8abb725be7fa6dc30bdfd2e7de1ff24d1 (patch) | |
tree | b2f416bd4fe3c3f13141c779534168ea18e7e2a9 | |
parent | b579a306c7449cc5cd3a6c2a8f729c1e828ee0c3 (diff) |
Make sure to call FormNoticeEnhancements with a new copy of the form
object
-rw-r--r-- | js/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/util.js b/js/util.js index 051efb6b9..cc7a587da 100644 --- a/js/util.js +++ b/js/util.js @@ -234,7 +234,7 @@ var SN = { // StatusNet $('#'+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); + SN.U.FormNoticeEnhancements($('#'+form_id)); } }, complete: function(xhr, textStatus) { |