version bump
This commit is contained in:
Matthew Scragg 2014-11-11 12:46:07 -06:00
parent 863de00a14
commit 7aa0ef7af5
2 changed files with 6 additions and 5 deletions

View file

@ -57,7 +57,7 @@ $(function(){
aced.editor.focus(); aced.editor.focus();
}); });
$("#delete-draft-btn").click(function() { $("#delete-page-btn").click(function() {
bootbox.alert("Not Done Yet! Sorry"); bootbox.alert("Not Done Yet! Sorry");
}); });
}); });
@ -82,12 +82,13 @@ var aced = new Aced({
data: data, data: data,
dataType: 'json' dataType: 'json'
}).always(function(data, status, error) { }).always(function(data, status, error) {
if (data && data['error']) { var res = data['responseJSON'];
if (res && res['error']) {
$page_name.addClass('parsley-error'); $page_name.addClass('parsley-error');
bootbox.alert("<h3>" + data['message'] + "</h3>"); bootbox.alert("<h3>" + res['message'] + "</h3>");
} else { } else {
location.href = path; location.href = path;
} }
}); });
} }
}); });

View file

@ -1 +1 @@
__version__ = '0.4.5' __version__ = '0.4.6'