From 5806530839711e4085ee7ceda95374433390dfba Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 3 Mar 2006 18:33:23 +0000 Subject: [PATCH] prevent a flesh user request (for creator and editor) when there is none git-svn-id: svn://svn.open-ils.org/ILS/trunk@3249 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/copy_editor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/cat/copy_editor.js b/Open-ILS/xul/staff_client/server/cat/copy_editor.js index 14c92d52fd..10b7f1c3da 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.js @@ -229,6 +229,7 @@ g.special_exception = { } }, 'Creator' : function(label,value) { + if (value == null || value == '' || value == 'null') return; g.network.request( api.FM_AU_RETRIEVE_VIA_ID.app, api.FM_AU_RETRIEVE_VIA_ID.method, @@ -247,6 +248,7 @@ g.special_exception = { ); }, 'Last Editor' : function(label,value) { + if (value == null || value == '' || value == 'null') return; g.network.request( api.FM_AU_RETRIEVE_VIA_ID.app, api.FM_AU_RETRIEVE_VIA_ID.method, -- 2.43.2