summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-10-31 20:14:57 +0100
committerSarven Capadisli <csarven@status.net>2009-10-31 20:14:57 +0100
commitcd4c1267ff1355710822c6b107e576c500bf3605 (patch)
treeb131019a42b55b8028eeed2864a67c57ff361a49
parent8a333805df5fc3786ef8abe1d71421fb9270ff7f (diff)
Use FormNoticeEnhancements instead of Counter
-rw-r--r--js/util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/util.js b/js/util.js
index 663ec8986..c5d03ce11 100644
--- a/js/util.js
+++ b/js/util.js
@@ -213,7 +213,7 @@ var SN = { // StatusNet
}
else {
$('#'+form_id+' #'+SN.C.S.NoticeDataText).val('');
- SN.U.Counter($('#'+SN.C.S.FormNotice));
+ SN.U.NoticeFormEnhancements($('#'+SN.C.S.FormNotice));
}
}
}
@@ -256,7 +256,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.Counter($('#'+SN.C.S.FormNotice));
+ SN.U.FormNoticeEnhancements(form);
}
},
complete: function(xhr, textStatus) {