Skip to content

Commit

Permalink
4.4.69
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelbart committed Feb 28, 2022
1 parent 54b0b66 commit 94540d2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
15 changes: 10 additions & 5 deletions core/assets/js/admin-log.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,16 @@
});

request.done(function(response) {
if ("success" === response.status) {
window.location.href = response.file;
} else {
alert(response.message);
}
$(".helpfulLogsClickable").remove();

var clickableElement = $("<a></a>", {
class: "helpfulLogsClickable",
href: response.file,
download: "",
style: "position:absolute;top:0;left:-9999px;"
}).appendTo("body");

$(".helpfulLogsClickable")[0].click();
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion helpful.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Helpful
* Description: Add a fancy feedback form under your posts or post-types and ask your visitors a question. Give them the abbility to vote with yes or no.
* Version: 4.4.68
* Version: 4.4.69
* Author: Pixelbart
* Author URI: https://pixelbart.de
* Text Domain: helpful
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: helpful, poll, feedback, reviews, vote, review, voting
Requires at least: 4.6
Tested up to: 5.9
Requires PHP: 5.6.20
Stable tag: 4.4.68
Stable tag: 4.4.69
License: MIT License
License URI: https://opensource.org/licenses/MIT

Expand Down

0 comments on commit 94540d2

Please sign in to comment.