app/assets/javascripts/tolk/actions.js in tolk-3.0.2 vs app/assets/javascripts/tolk/actions.js in tolk-3.1.0
- old
+ new
@@ -17,10 +17,10 @@
$(".translations textarea").bind("change", function () {
window.onbeforeunload = confirm;
});
- $("input.save, input.apply").click(function () {
+ $("input.save-translations").click(function () {
window.onbeforeunload = null;
});
function confirm() {
return "You are leaving this page with non-saved data. Are you sure you want to continue?";