1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +03:00

fixed double removal check

This commit is contained in:
Adolfo Gómez García 2019-04-03 21:50:00 +02:00
parent ea11a25c52
commit 87e7f1ca3c

View File

@ -391,16 +391,6 @@
return false;
});
$('div.service:not(.maintenance, .notaccesible) > span.gear > span.release').on("click", function (event) {
event.stopPropagation();
event.preventDefault();
if ( confirm("{%trans 'Are you sure that you want to release this service. Its current content will be lost!' %}") ) {
window.location.href = $(this).attr('data-href');
}
return false;
});
$('div.service:not(.maintenance, .notaccesible) > span.gear > span.reseter').on("click", function (event) {
event.stopPropagation();
event.preventDefault();