prevent a flesh user request (for creator and editor) when there is none
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 3 Mar 2006 18:33:23 +0000 (18:33 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 3 Mar 2006 18:33:23 +0000 (18:33 +0000)
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

index 14c92d5..10b7f1c 100644 (file)
@@ -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,