Replaced success() with done ()

This commit is contained in:
James Cole
2016-02-04 07:30:12 +01:00
parent 7343304284
commit fb119cc208
9 changed files with 19 additions and 19 deletions

View File

@@ -126,7 +126,7 @@ function openModal(e) {
var target = $(e.target).parent();
var URL = target.attr('href');
$.get(URL).success(function (data) {
$.get(URL).done(function (data) {
$('#defaultModal').empty().html(data).modal('show');
}).fail(function () {