mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Fix remove downtime
This commit is contained in:
parent
1a95e48deb
commit
aa5fb1d8cf
@ -43,6 +43,7 @@ define(['components/app/container', 'jquery'], function(Container, $) {
|
||||
var submitHandler = function(e) {
|
||||
e.preventDefault();
|
||||
|
||||
|
||||
var form = $(this);
|
||||
var url = form.attr('action');
|
||||
var submit = form.find('button[type="submit"]', 'input[type="submit"]');
|
||||
@ -67,6 +68,7 @@ define(['components/app/container', 'jquery'], function(Container, $) {
|
||||
}).error(function() {
|
||||
submit.removeAttr('disabled');
|
||||
});
|
||||
return false;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user