{"id":31,"date":"2018-06-14T09:43:42","date_gmt":"2018-06-14T07:43:42","guid":{"rendered":"http:\/\/uni.ict.unipd.it\/wpbooking\/?page_id=31"},"modified":"2019-08-08T11:32:03","modified_gmt":"2019-08-08T09:32:03","slug":"cancellazione","status":"publish","type":"page","link":"https:\/\/web.unipd.it\/international\/it\/cancellazione\/","title":{"rendered":"Cancellazione"},"content":{"rendered":"<p>Hai richiesto la cancellazione della tua prenotazione: confermi?<\/p>\n<div id=\"bookly-tbs\" class=\"bookly-js-cancellation-confirmation\">\n            <div class=\"text-center\">\n            <div>\n                <i class=\"fa fa-fw fas fa-exclamation-triangle fa-2x text-danger\"><\/i> Oops!            <\/div>\n            <div>Questo appuntamento non esiste.<\/div>\n        <\/div>\n    <\/div>\n<script type=\"text\/javascript\">\n    \/\/ Click on 'Do not cancel' button\n    var links = document.getElementsByClassName('bookly-js-cancellation-confirmation-no');\n    for (var i = 0; i < links.length; i++) {\n        if (links[i].onclick == undefined) {\n            links[i].onclick = function (e) {\n                e.preventDefault();\n                var container = this.closest('.bookly-js-cancellation-confirmation'),\n                    buttons = container.getElementsByClassName('bookly-js-cancellation-confirmation-buttons')[0],\n                    message = container.getElementsByClassName('bookly-js-cancellation-confirmation-message')[0];\n                buttons.style.display = 'none';\n                message.style.display = 'inline';\n            };\n        }\n    }\n    \/\/ Click on 'Confirm cancellation' button\n    links = document.getElementsByClassName('bookly-js-cancellation-confirmation-yes');\n    for (i = 0; i < links.length; i++) {\n        if (links[i].onclick == undefined) {\n            links[i].onclick = function(e) {\n                e.preventDefault();\n                var url = this.href,\n                    $reason = this.closest('.bookly-js-cancellation-confirmation-buttons').querySelector('.bookly-js-cancellation-confirmation-reason');\n                if ($reason !== null) {\n                    url += String.fromCharCode(38) + 'reason=' + encodeURIComponent($reason.value)\n                }\n                window.location.replace(url)\n            };\n        }\n    }\n<\/script>\n<div id=\"themify_builder_content-31\" data-postid=\"31\" class=\"themify_builder_content themify_builder_content-31 themify_builder\">\n    <\/div>\n<!-- \/themify_builder_content -->","protected":false},"excerpt":{"rendered":"<p>Hai richiesto la cancellazione della tua prenotazione: confermi?<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-31","page","type-page","status-publish","hentry","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/web.unipd.it\/international\/it\/wp-json\/wp\/v2\/pages\/31","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/web.unipd.it\/international\/it\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/web.unipd.it\/international\/it\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/web.unipd.it\/international\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/web.unipd.it\/international\/it\/wp-json\/wp\/v2\/comments?post=31"}],"version-history":[{"count":5,"href":"https:\/\/web.unipd.it\/international\/it\/wp-json\/wp\/v2\/pages\/31\/revisions"}],"predecessor-version":[{"id":292,"href":"https:\/\/web.unipd.it\/international\/it\/wp-json\/wp\/v2\/pages\/31\/revisions\/292"}],"wp:attachment":[{"href":"https:\/\/web.unipd.it\/international\/it\/wp-json\/wp\/v2\/media?parent=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}