From f9b4aab08d685b797189645ca10c7069572f9d57 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 22 Mar 2006 18:16:29 +0000 Subject: [PATCH] Missing argument in setField() prevented changing primary fields --- chrome/chromeFiles/content/scholar/data_access.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/chromeFiles/content/scholar/data_access.js b/chrome/chromeFiles/content/scholar/data_access.js index 8be394b11..e21fe39a1 100644 --- a/chrome/chromeFiles/content/scholar/data_access.js +++ b/chrome/chromeFiles/content/scholar/data_access.js @@ -243,7 +243,7 @@ Scholar.Object.prototype.getField = function(field){ Scholar.Object.prototype.setField = function(field, value, loadIn){ // Primary field if (this.isPrimaryField(field)){ - if (!this.isEditableField()){ + if (!this.isEditableField(field)){ throw ('Primary field ' + field + ' cannot be changed through ' + 'setField'); }