Fix Javascript element enabling
This commit is contained in:
parent
6a4f7d2b48
commit
aaeca2fd08
3 changed files with 15 additions and 15 deletions
|
@ -694,7 +694,7 @@ var addAuthorForm = {
|
|||
$(this).show();
|
||||
});
|
||||
addAuthorForm.showFormButton.removeClass('disabledSubmit');
|
||||
addAuthorForm.showFormButton.attr('disabled','');
|
||||
addAuthorForm.showFormButton.attr('disabled',false);
|
||||
}
|
||||
else {
|
||||
$('img#indicatorTwo').fadeOut(100, function() {
|
||||
|
@ -705,7 +705,7 @@ var addAuthorForm = {
|
|||
$(this).show();
|
||||
});
|
||||
addAuthorForm.submit.removeClass('disabledSubmit');
|
||||
addAuthorForm.submit.attr('disabled','');
|
||||
addAuthorForm.submit.attr('disabled',false);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -791,8 +791,8 @@ var addAuthorForm = {
|
|||
this.selectedOrg.addClass("acSelection");
|
||||
this.selectedOrgName.addClass("acSelectionInfo");
|
||||
this.orgLink.addClass("verifyMatch");
|
||||
this.orgName.attr('disabled', '');
|
||||
this.orgUriField.attr('disabled', '');
|
||||
this.orgName.attr('disabled', false);
|
||||
this.orgUriField.attr('disabled', false);
|
||||
|
||||
addAuthorForm.addAcHelpText(this.orgName);
|
||||
addAuthorForm.initAutocomplete();
|
||||
|
@ -818,10 +818,10 @@ var addAuthorForm = {
|
|||
this.selectedAuthor.addClass("acSelection");
|
||||
this.selectedAuthorName.addClass("acSelectionInfo");
|
||||
this.personLink.addClass("verifyMatch");
|
||||
this.acSelector.attr('disabled', '');
|
||||
this.firstNameField.attr('disabled', '');
|
||||
this.middleNameField.attr('disabled', '');
|
||||
this.lastNameField.attr('disabled', '');
|
||||
this.acSelector.attr('disabled', false);
|
||||
this.firstNameField.attr('disabled', false);
|
||||
this.middleNameField.attr('disabled', false);
|
||||
this.lastNameField.attr('disabled', false);
|
||||
|
||||
addAuthorForm.addAcHelpText(this.acSelector);
|
||||
addAuthorForm.initAutocomplete();
|
||||
|
|
|
@ -612,7 +612,7 @@ var addEditorForm = {
|
|||
$(this).show();
|
||||
});
|
||||
addEditorForm.showFormButton.removeClass('disabledSubmit');
|
||||
addEditorForm.showFormButton.attr('disabled','');
|
||||
addEditorForm.showFormButton.attr('disabled',false);
|
||||
}
|
||||
else {
|
||||
$('img#indicatorTwo').fadeOut(100, function() {
|
||||
|
@ -623,7 +623,7 @@ var addEditorForm = {
|
|||
$(this).show();
|
||||
});
|
||||
addEditorForm.submit.removeClass('disabledSubmit');
|
||||
addEditorForm.submit.attr('disabled','');
|
||||
addEditorForm.submit.attr('disabled',false);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -687,10 +687,10 @@ var addEditorForm = {
|
|||
this.selectedEditor.addClass("acSelection");
|
||||
this.selectedEditorName.addClass("acSelectionInfo");
|
||||
this.personLink.addClass("verifyMatch");
|
||||
this.acSelector.attr('disabled', '');
|
||||
this.firstNameField.attr('disabled', '');
|
||||
this.middleNameField.attr('disabled', '');
|
||||
this.lastNameField.attr('disabled', '');
|
||||
this.acSelector.attr('disabled', false);
|
||||
this.firstNameField.attr('disabled', false);
|
||||
this.middleNameField.attr('disabled', false);
|
||||
this.lastNameField.attr('disabled', false);
|
||||
|
||||
addEditorForm.addAcHelpText(this.acSelector);
|
||||
addEditorForm.initAutocomplete();
|
||||
|
|
|
@ -210,7 +210,7 @@ var manageWebpages = {
|
|||
$(this).show();
|
||||
});
|
||||
$('a#showAddForm').removeClass('disabledSubmit');
|
||||
$('a#showAddForm').attr('disabled', '');
|
||||
$('a#showAddForm').attr('disabled', false);
|
||||
});
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue