addNewFeature: function () {
userMgr.close();
-
function cancel() {
$(document).unbind("keydown");
Admin.reset()
}
});
- $("#newfeature_button").val("annuler");
+ $("#newfeature_button").val(SypStrings.Cancel);
$("#newfeature_button").unbind("click").click(cancel);
$("#instructions").text(SypStrings.AddHowto);
},
add: function(evt) {
+ alert (SypStrings.DisabledForDemo);
+ $(document).unbind("keydown");
+ Admin.reset()
+ return;
var map = Admin.map;
var pos = map.getLonLatFromViewPortPx(evt.xy);
feature = this.update (null, pos, "", "", "");
},
del: function (feature) {
+ alert (SypStrings.DisabledForDemo);
+ return;
var form = $("#feature_delete");
form.find('input[name="fid"]').val(feature.fid);
AjaxMgr.add({
this.commError("");
+ this.disableForms();
+ alert (SypStrings.DisabledForDemo);
+ return;
+
AjaxMgr.add({
form: $("#changepass"),
oncomplete: OpenLayers.Function.bind(this.ajaxReply, this),
}
this.commError("");
+ this.disableForms();
+ alert (SypStrings.DisabledForDemo);
+ return;
AjaxMgr.add({
form: $("#newuser"),
return false;
});
$("#image_delete").click(function() {
+ alert (SypStrings.DisabledForDemo);
+ return;
$("#img").removeAttr('src');
// needs to rebuild element otherwise some browsers still
// display image.