Fix regression for task link add button
This commit is contained in:
parent
73bae9bb34
commit
69c2b7f62b
File diff suppressed because one or more lines are too long
|
|
@ -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');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue