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:
parent
ea11a25c52
commit
87e7f1ca3c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user