mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +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) {
|
var submitHandler = function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
|
|
||||||
var form = $(this);
|
var form = $(this);
|
||||||
var url = form.attr('action');
|
var url = form.attr('action');
|
||||||
var submit = form.find('button[type="submit"]', 'input[type="submit"]');
|
var submit = form.find('button[type="submit"]', 'input[type="submit"]');
|
||||||
@ -67,6 +68,7 @@ define(['components/app/container', 'jquery'], function(Container, $) {
|
|||||||
}).error(function() {
|
}).error(function() {
|
||||||
submit.removeAttr('disabled');
|
submit.removeAttr('disabled');
|
||||||
});
|
});
|
||||||
|
return false;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user