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