Skip to content

Commit

Permalink
prevent default behavior of anchor when editing slot
Browse files Browse the repository at this point in the history
  • Loading branch information
brosner committed Sep 21, 2012
1 parent d354e2b commit f4344f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion symposion/templates/schedule/schedule_edit.html
Expand Up @@ -55,11 +55,12 @@ <h2>{{ timetable.day.date }}</h2>
<script src="{{ STATIC_URL }}chosen/chosen.jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$("a.edit-slot").click(function() {
$("a.edit-slot").click(function(e) {
$("#slotEditModal").load($(this).data("action"), function() {
$("#id_presentation").chosen();
$("#slotEditModal").modal("show");
});
e.preventDefault();
});
});
</script>
Expand Down

0 comments on commit f4344f4

Please sign in to comment.