transmet/js/funcs.js

18 lines
372 B
JavaScript
Raw Normal View History

$(document).ready( function () {
2015-05-14 17:29:01 +02:00
$("#datepicker").datepicker();
2015-05-15 16:26:50 +02:00
$(".confirm-export").confirm({
2015-05-14 17:29:01 +02:00
"text": "Mark current batch exported?",
"title": "Export confrimation",
confirm: function() {
2015-05-15 16:26:50 +02:00
window.location = "/export";
2015-05-14 17:29:01 +02:00
},
});
2015-05-16 21:48:42 +02:00
if( $('.addedLink').length > 0) {
setTimeout(function (){
window.close();
}, 500);
}
});