var loginName = "<%= @user.display_name %>"
<% end %>
- function createBugCallBack() {
- map.osbControl.deactivate();
- document.getElementById("OpenLayers.Map_18_OpenLayers_Container").style.cursor = "default";
- }
-
function mapInit(){
map = createMap("map");
+ "&name="+encodeURIComponent(this.getUserName())
+ "&format=js"
);
- createBugCallBack();
},
/**
*/
click: function(e) {
if(!this.map) return true;
+ deactivateControl();
var control = this;
var lonlat = this.map.getLonLatFromViewPortPx(e.xy);
putAJAXMarker.layers = [ ];
putAJAXMarker.bugs = { };
+function deactivateControl() {
+ map.osbControl.deactivate();
+ document.getElementById("OpenLayers.Map_18_OpenLayers_Container").style.cursor = "default";
+ }
+
/* Translations */