NIHVIVO-646 Initial setup for autocomplete field in authors form.
Fixed typos in TabFilteringTest class and getTabHierarchy method names.
This commit is contained in:
parent
1577753b83
commit
bd45d55237
2 changed files with 19 additions and 6 deletions
|
@ -38,9 +38,7 @@ var addAuthorForm = {
|
|||
},
|
||||
|
||||
initForm: function() {
|
||||
|
||||
|
||||
|
||||
this.showFormButton.click(function() {
|
||||
addAuthorForm.showFormDiv.hide();
|
||||
addAuthorForm.form.show();
|
||||
|
@ -52,8 +50,19 @@ var addAuthorForm = {
|
|||
addAuthorForm.showFormDiv.show();
|
||||
return false;
|
||||
});
|
||||
|
||||
//this.setUpAutocomplete();
|
||||
},
|
||||
|
||||
// setUpAutocomplete: function() {
|
||||
//
|
||||
// var names = ["Adams", "Bell", "Smith", "Smile", "Smelt", "Younes", "Young"];
|
||||
// $('#lastName').autocomplete({
|
||||
// source: names
|
||||
// });
|
||||
//
|
||||
// },
|
||||
|
||||
toggleRemoveLink: function() {
|
||||
// when clicking remove: remove the author, and change link text to "undo"
|
||||
// when clicking undo: add the author back, and change link text to "remove"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue