mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 01:51:40 -05:00
show error message on post edit page
This commit is contained in:
parent
bf90eedf37
commit
e11b6db40f
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ Template[getTemplate('post_edit')].events({
|
|||
Posts.update(post._id, updateObject, function(error){
|
||||
if(error){
|
||||
console.log(error);
|
||||
throwError(error.reason);
|
||||
throwError(error.message);
|
||||
clearSeenErrors();
|
||||
$(e.target).removeClass('disabled');
|
||||
}else{
|
||||
|
|
Loading…
Add table
Reference in a new issue