mirror of https://github.com/zulip/zulip.git
Send zephyrs via Ajax
(imported from commit cdfd69079212d36a9e4e9d2d01dc7b6a93b6a4e0)
This commit is contained in:
parent
109edcfa21
commit
a1a7291fe5
|
@ -6,6 +6,7 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
<script type="text/javascript" src="/static/jquery/jquery.form.js"></script>
|
||||
<script type="text/javascript" src="/static/js/zephyr.js"></script>
|
||||
|
||||
<div class="row-fluid">
|
||||
|
|
|
@ -42,6 +42,11 @@ $.ajaxSetup({
|
|||
}
|
||||
});
|
||||
|
||||
$(function() {
|
||||
$("#class-message form").ajaxForm();
|
||||
$("#personal-message form").ajaxForm();
|
||||
});
|
||||
|
||||
selected_tag = '<p id="selected">▶</p>'
|
||||
|
||||
function textarea_in_focus() {
|
||||
|
|
Loading…
Reference in New Issue