457d4fba by Jeff Balicki

save news

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 51a35bc3
...@@ -421,7 +421,7 @@ endforeach; ...@@ -421,7 +421,7 @@ endforeach;
421 dataType: 'json', 421 dataType: 'json',
422 success: function(data) { 422 success: function(data) {
423 console.log(data.success); 423 console.log(data.success);
424 if (data.success == "true") { 424 if (data.success == true) {
425 console.log(data.success); 425 console.log(data.success);
426 alert("Newsletter Saved"); 426 alert("Newsletter Saved");
427 } 427 }
......