+/* This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
+ and is published under the AGPL license. */
+
+"use strict";
+
var WGS84 = new OpenLayers.Projection("EPSG:4326");
var Mercator = new OpenLayers.Projection("EPSG:900913");
}
var id = this.elt.getAttribute('data-id');
- $("message").hide();
+ $("message").clearMessages();
new Ajax.Request('path/' + id.toString() + '/delete', {
method: 'post',
onSuccess: this.deleteSuccess.bind(this),