save news
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -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 | } | ... | ... |
-
Please register or sign in to post a comment