/* * @file * Javascript run on creation of a new map */ $('#map_name').val(''); $('#map_desc').val(''); $('#map_permission').val('commons'); $('#map_topicsToMap').val('0'); var tempForm = $('#new_map').html(); if (mapid == null) { $('#new_map').html("Success! Do you want to
' + "'>Go to your new map?
or
Stay on the Console?"); } else if (mapid != null) { $('#new_map').html("Success! Do you want to
' + "'>Go to your new map?
or
Stay on this map?"); } function closeIt() { $('#new_map').fadeOut('fast', function(){ $('#new_map').html(tempForm); }); }