Skip to content

Commit

Permalink
Merge pull request #34 from angelleye/PFWMA-88-A
Browse files Browse the repository at this point in the history
Updater Install Notification should be dismissable, PFWMA-88
  • Loading branch information
kcppdevelopers authored Dec 23, 2019
2 parents 85decf1 + b08e444 commit 97620f9
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,10 @@ jQuery(function () {
jQuery.post(ajaxurl, param);
}
});

jQuery(document).on('click', '#angelleye-updater-notice .notice-dismiss', function( event ) {
jQuery(document).off('click', '#angelleye-updater-notice .notice-dismiss').on('click', '#angelleye-updater-notice .notice-dismiss',function(event) {
var r = confirm("If you do not install the Updater plugin you will not receive automated updates for Angell EYE products going forward!");
if (r == true) {
data = {
var data = {
action : 'angelleye_updater_dismissible_admin_notice'
};
jQuery.post(ajaxurl, data, function (response) {
Expand Down

0 comments on commit 97620f9

Please sign in to comment.