Changeset 26141

Show
Ignore:
Timestamp:
30.08.2012 16:29:43 (7 years ago)
Author:
sjm84
Message:

The map will be hidden when there is no Latitude and Longitude information

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/map-scripts.js

    r25868 r26141  
    3737        { 
    3838            document.getElementById("map_canvas").style.visibility = "hidden"; 
     39            document.getElementById("map_canvas").style.height = "0px"; 
    3940        } 
    4041    } 
     
    424425                 
    425426                document.getElementById("map_canvas").style.visibility = "visible"; 
     427                document.getElementById("map_canvas").style.height = undefined; 
    426428            } 
    427429