summaryrefslogtreecommitdiff
path: root/js/util.js
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-04-23 02:22:00 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-04-23 02:22:00 +0000
commit63c52784c7acc54b0b7b39ff3ca7763774e4ab9a (patch)
tree350084a7a10bb59d1e9f9f6fa3f092ff83470f57 /js/util.js
parent06746f3fac5bd692f1ae8c527a85cfe8682705fc (diff)
Allowing XHR for Inbox/Outbox pages.
Diffstat (limited to 'js/util.js')
-rw-r--r--js/util.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/util.js b/js/util.js
index 53e6eb792..13036f7ca 100644
--- a/js/util.js
+++ b/js/util.js
@@ -192,10 +192,8 @@ $(document).ready(function(){
$("#notice_action-submit").removeClass("disabled");
}
};
- if (document.body.id != 'inbox' && document.body.id != 'outbox') {
- $("#form_notice").ajaxForm(PostNotice);
- $("#form_notice").each(addAjaxHidden);
- }
+ $("#form_notice").ajaxForm(PostNotice);
+ $("#form_notice").each(addAjaxHidden);
NoticeHover();
NoticeReply();
});