Commit a93a4cc7 authored by Marco Kellershoff's avatar Marco Kellershoff
Browse files

Reset shortLink checkbox when modal closes

parent 6f0596f1
......@@ -650,6 +650,9 @@
btn_file.onclick = function(){
file.click();
};
$("#shareDialogue").on("hidden.bs.modal", function () {
$('#shortenUrlCheckbox').prop('checked', false);
});
$('#shortenUrlCheckbox').on('change', function(){
if (this.checked === true) {
self.shortenUrl($('#shareUrlBox').val(), function(data) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment