Permalink
Browse files

prevent default behavior of anchor when editing slot

  • Loading branch information...
brosner committed Sep 21, 2012
1 parent d354e2b commit f4344f4cbb71d58c912ace55e1def68acc4099e1
Showing with 2 additions and 1 deletion.
  1. +2 −1 symposion/templates/schedule/schedule_edit.html
@@ -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>

0 comments on commit f4344f4

Please sign in to comment.