How to use the ember-notify.success function in ember-notify

To help you get started, we’ve selected a few ember-notify examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github phanime / phanime / phanime / app / controllers / producers / add.js View on Github external
var onSuccess = function(producer) {

				var msg = producer.get('name') + " was successfully added.";
				console.log(msg);
				Notify.success(msg);
				//self.transitionTo('producer', producer);
			};
github phanime / phanime / phanime / app / controllers / castings / add.js View on Github external
var onSuccess = function() {

				var msg = "Casting was successfully added to anime";
				console.log(msg);
				Notify.success(msg);
				//self.transitionTo('character', character);
			};
github phanime / phanime / phanime / app / controllers / character.js View on Github external
var onSuccess = function(character) {

				var msg = character.get('first_name') + " " + character.get('last_name') + " was successfully saved.";
				console.log(msg);
				Notify.success(msg);
			};
github phanime / phanime / phanime / app / controllers / person.js View on Github external
var onSuccess = function(person) {

				var msg = person.get('first_name') + " " + person.get('last_name') + " was successfully saved.";
				console.log(msg);
				Notify.success(msg);
			};
github phanime / phanime / phanime / app / controllers / anime-add.js View on Github external
var onSuccess = function(anime) {

				var msg = anime.get('title') + " was successfully added.";
				console.log(msg);
				Notify.success(msg);
				self.transitionToRoute('anime', anime);
			};
github phanime / phanime / front / app / controllers / castings / add.js View on Github external
var onSuccess = function() {

				var msg = "Casting was successfully added to anime";
				console.log(msg);
				Notify.success(msg);
				//self.transitionTo('character', character);
			};
github phanime / phanime / phanime / app / controllers / application.js View on Github external
$.post('/api/v1/requestInvite', {email: email, username: username}, function(data) {
					
					if (data.username) {
						console.log(data.username[0]);
						Notify.warning(data.username[0]);
					}

					if (data.email) {
						Notify.warning(data.email[0]);
					}
					
					if ( data === undefined || data === '' ) {
						Notify.success('Invite request received.');
					}


				}).fail(function() {
					Notify.warning('Something went wrong, invite request was not received.');
github phanime / phanime / phanime / app / controllers / anime.js View on Github external
var onSuccess = function() {
					var msg = "Status Updated";
					console.log(msg);
					Notify.success(msg);
				};
github phanime / phanime / front / app / controllers / application.js View on Github external
$.post('/api/v1/requestInvite', {email: email, username: username}, function(data) {
					
					if (data.username) {
						Notify.warning(data.username);
					}

					if (data.email) {
						Notify.warning(data.email);
					}
					
					if ( data === undefined || data === '' ) {
						Notify.success('Invite request received.');
					}


				}).fail(function() {
					Notify.warning('Something went wrong, invite request was not received.');
github stonecircle / kue-ui / lib / client / app / models / job.js View on Github external
.then(function() {
            Notify.success('Job deleted');
        })
        .catch(function(err) {