Merge r1175 from http://svn.mannlib.cornell.edu/svn/vivo/branches/rel-1.1-maint
This commit is contained in:
parent
81f0ad89d6
commit
de1bc95731
1 changed files with 6 additions and 6 deletions
|
@ -448,12 +448,12 @@ var addAuthorForm = {
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
this.submit.click(function() {
|
this.form.submit(function() {
|
||||||
// NB Important JavaScript scope issue: if we call it this way, this = addAuthorForm
|
// NB Important JavaScript scope issue: if we call it this way, this = addAuthorForm
|
||||||
// in prepareSubmit. If we do this.submit.click(prepareSubmit); then
|
// in prepareSubmit. If we do this.form.submit(prepareSubmit); then
|
||||||
// this != addAuthorForm in prepareSubmit.
|
// this != addAuthorForm in prepareSubmit.
|
||||||
addAuthorForm.prepareSubmit();
|
addAuthorForm.prepareSubmit();
|
||||||
});
|
});
|
||||||
|
|
||||||
this.lastNameField.blur(function() {
|
this.lastNameField.blur(function() {
|
||||||
addAuthorForm.onLastNameChange();
|
addAuthorForm.onLastNameChange();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue