Fix regression for task link add button

This commit is contained in:
Frederic Guillot 2016-03-18 21:19:36 -04:00
parent 73bae9bb34
commit 69c2b7f62b
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -138,7 +138,7 @@ App.prototype.autoComplete = function() {
var extraField = input.data("dst-extra-field");
if ($('#form-' + field).val() == '') {
input.parent().find("input[type=submit]").attr('disabled','disabled');
input.parent().find("button[type=submit]").attr('disabled','disabled');
}
input.autocomplete({
@ -151,7 +151,7 @@ App.prototype.autoComplete = function() {
$("input[name=" + extraField + "]").val(ui.item[extraField]);
}
input.parent().find("input[type=submit]").removeAttr('disabled');
input.parent().find("button[type=submit]").removeAttr('disabled');
}
});
});