Fix remove downtime

This commit is contained in:
Jannis Moßhammer 2013-10-23 14:34:20 +02:00
parent 1a95e48deb
commit aa5fb1d8cf
1 changed files with 2 additions and 0 deletions

View File

@ -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;
};
/**