2015-04-28 17:10:40 +02:00
|
|
|
$(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);
|
|
|
|
}
|
2015-04-28 17:10:40 +02:00
|
|
|
});
|