Missed some

This commit is contained in:
Dan Stillman 2006-03-21 15:19:11 +00:00
parent 7448c8ce5d
commit c8f10f4b6d

View file

@ -402,7 +402,7 @@ Scholar.Object.prototype.save = function(){
}
// See if this is an existing creator
var creatorID = Scholar_Creators.getID(
var creatorID = Scholar.Creators.getID(
creator['firstName'],
creator['lastName'],
creator['creatorTypeID']
@ -410,7 +410,7 @@ Scholar.Object.prototype.save = function(){
// If not, add it
if (!creatorID){
creatorID = Scholar_Creators.add(
creatorID = Scholar.Creators.add(
creator['firstName'],
creator['lastName'],
creator['creatorTypeID']
@ -435,7 +435,7 @@ Scholar.Object.prototype.save = function(){
}
// Append the SQL to delete obsolete creators
sql += Scholar_Creators.purge(true) + "\n";
sql += Scholar.Creators.purge(true) + "\n";
}
@ -564,7 +564,7 @@ Scholar.Object.prototype.save = function(){
}
// See if this is an existing creator
var creatorID = Scholar_Creators.getID(
var creatorID = Scholar.Creators.getID(
creator['firstName'],
creator['lastName'],
creator['creatorTypeID']
@ -572,7 +572,7 @@ Scholar.Object.prototype.save = function(){
// If not, add it
if (!creatorID){
creatorID = Scholar_Creators.add(
creatorID = Scholar.Creators.add(
creator['firstName'],
creator['lastName'],
creator['creatorTypeID']