NIHVIVO-194 Change ids to classes to accomodate the possibility of additional related objects, and enclose the existing/addNew/new divs into a containing div
This commit is contained in:
parent
0a7a40074e
commit
e4a2e10c41
6 changed files with 47 additions and 37 deletions
|
@ -34,11 +34,13 @@ var customFormOneStep = {
|
|||
this.addNewLink = $('#addNewLink');
|
||||
this.existing = $('#existing');
|
||||
this.addNew = $('#new');
|
||||
this.entry = $('#entry');
|
||||
this.entry = $('.entry');
|
||||
this.existingOrNew = $('#existingOrNew');
|
||||
|
||||
this.cancel = this.form.find('.cancel');
|
||||
this.requiredHints = this.form.find('.requiredHint');
|
||||
this.requiredHints = this.form.find('.requiredHint');
|
||||
|
||||
this.close = this.form.find('.close');
|
||||
|
||||
// Read values used to control display
|
||||
this.editType = $("input[name='editType']").val();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue