Send zephyrs via Ajax

(imported from commit cdfd69079212d36a9e4e9d2d01dc7b6a93b6a4e0)
This commit is contained in:
Keegan McAllister 2012-08-30 11:28:15 -04:00
parent 109edcfa21
commit a1a7291fe5
2 changed files with 6 additions and 0 deletions

View File

@ -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">

View File

@ -42,6 +42,11 @@ $.ajaxSetup({
}
});
$(function() {
$("#class-message form").ajaxForm();
$("#personal-message form").ajaxForm();
});
selected_tag = '<p id="selected">&#x25b6;</p>'
function textarea_in_focus() {