diabook-themes: state of the boxes at right_aside are now stored in db, instead of cookie.

This commit is contained in:
tommy tomson 2012-05-08 03:29:25 +02:00
parent 8a4e3cc370
commit 88443ed3fb
5 changed files with 298 additions and 127 deletions

View file

@ -94,10 +94,10 @@ $.widget("mapQuery.mqMousePosition", {
new OpenLayers.Projection(mapProjection),
new OpenLayers.Projection(displayProjection));
}
$("#mq-mouseposition-x", element).html(
this.options.x+': '+pos.lon.toFixed(this.options.precision));
$("#mq-mouseposition-y", element).html(
this.options.y+': '+pos.lat.toFixed(this.options.precision));
$("#id_diabook_ELPosX", element).val(
this.options.x+pos.lon.toFixed(this.options.precision));
$("#id_diabook_ELPosY", element).val(
this.options.y+pos.lat.toFixed(this.options.precision));
},
_onMouseMove: function(evt, data) {