In firefox, this works great - the toastr (https://github.com/CodeSeven/toastr) displays both success and error messages. In IE, there is no error and the messages are not displayed. Is there an issue with how I'm calling the toastr methods?
$.ajax({
url: '/api/emailtemplate/',
type: 'POST',
data: ko.toJSON(self),
contentType: 'application/json',
//dataType: 'json',
success: function (result) {
toastr.success('Template was saved successfully!');
},
error: function () { toastr.error('Template was not saved.', 'Template error!'); }
});