Merge pull request #76 from faulteh/schedule_edit_fix

Style fixes to make the proposal selection modal display.
This commit is contained in:
Christopher Neugebauer 2016-11-04 11:25:28 +11:00 committed by GitHub
commit 4fa9903998

View file

@ -29,17 +29,15 @@
<input type="submit" name="submit" value="Submit" />
<input type="submit" id="delete" name="delete" value="Delete Schedule" />
</form>
<div class="modal fade hide in" id="slotEditModal"></div>
<div class="modal fade in" style="background-color:#fff;" id="slotEditModal"></div>
</div></div></div>
{% endblock %}
{% block extra_script %}
<script src="{{ STATIC_URL }}chosen/chosen.jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$("a.edit-slot").click(function(e) {
$("#slotEditModal").load($(this).data("action"), function() {
$("#id_presentation").chosen();
$("#slotEditModal").modal("show");
});
e.preventDefault();