Commit 9157d19ae535a3a9835e24040813a39da35e05c0
1 parent
313cd9b5
Exists in
master
and in
5 other branches
alerts included [Issue:#122]
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
links/templates/links/update_link.html
... | ... | @@ -62,11 +62,13 @@ |
62 | 62 | $('#linksModalEdit').modal('hide'); |
63 | 63 | $('#link_edit_{{ link.slug }}').replaceWith(data); |
64 | 64 | $('#link_{{ link.slug }}').replaceWith(data); |
65 | + alertify.alert("Sucessfully Updated!") | |
65 | 66 | }, |
66 | 67 | error: function(data){ |
67 | 68 | $('.erro-update').html(data.responseText); |
68 | 69 | $('.modal-backdrop').remove(); |
69 | 70 | $('#linksModalEdit').modal(); |
71 | + alertify.alert('Invalid link, insert a valid one!'); | |
70 | 72 | } |
71 | 73 | }); |
72 | 74 | event.preventDefault(); | ... | ... |