Show
Ignore:
Timestamp:
05/29/08 11:18:05 (4 months ago)
Author:
phasefx
Message:

just in case JSON returns that value as a string instead of a number

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Open-ILS/xul/staff_client/server/main/ws_info.xul

    r9483 r9728  
    7878                                [ xulG.auth.session.key, g.user.id(), 'REGISTER_WORKSTATION'] 
    7979                        ); 
    80                         if (highest_org_id == -1) { 
     80                        if (highest_org_id == -1 || highest_org_id == '-1') { 
    8181                                alert(document.getElementById('commonStrings').getString('staff.main.gen_offline_widgets.workstation_registration_denied')); 
    8282                                xulG.auth.logoff();