Temporary fix for David; do not do image constraints unless TBMAINSITE
is true, which means its the Portal. Since there is no IMS database anyplace else, GetImageInfo() ajax call fails. This is mostly harmless, users will just get an error later when instantiating. This affects the portal over on the APT cluster that the HPC people use for development.
Showing with 2 additions and 3 deletions