minor fixes

This commit is contained in:
Bengt Brodersen 2015-12-11 11:30:09 +01:00
parent 8e8c1597fc
commit 3e12c7956a

View File

@ -70,7 +70,7 @@
if (issueKeyList.length <= 0) { if (issueKeyList.length <= 0) {
alert("Please select at least one issue."); alert("Please select at least one issue.");
return; return;
} else if (issueKeyList.length > 100) { } else if (issueKeyList.length > 30) {
confirm("Are you sure you want select " + issueKeyList.length + " issues?"); confirm("Are you sure you want select " + issueKeyList.length + " issues?");
return; return;
} }
@ -233,6 +233,7 @@
}); });
console.log("wait for resources loaded..."); console.log("wait for resources loaded...");
printDocument.close(); printDocument.close();
redrawCards();
}); });
} }
@ -472,7 +473,7 @@
// show QR Code // show QR Code
result.find("#qr-code-checkbox").click(function() { result.find("#qr-code-checkbox").click(function() {
global.settings.hideQrCode = this.checked; global.settings.hideQrCode = !this.checked;
saveSettings(); saveSettings();
redrawCards(); redrawCards();
return true; return true;