Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Added toaster notification #306

Merged
merged 1 commit into from
Oct 5, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/settings/edit-profile/edit-profile.controller.js
Original file line number Diff line number Diff line change
@@ -111,10 +111,12 @@
.then(function() {
vm.profileFormProcessing = false;
$log.info('Saved successfully');
toaster.pop('success', "Success!", "Your account information was updated.");
})
.catch(function(err) {
vm.profileFormProcessing = false;
$log.error(err);
toaster.pop('error', "Whoops!", "Something went wrong. Please try again later.");
});
}