},
addNewFeature: function () {
+ alert (SypStrings.DisabledForDemo);
+ return;
function cancel() {
$(document).unbind("keydown");
Admin.reset()
},
del: function (feature) {
+ alert (SypStrings.DisabledForDemo);
+ return;
var form = $("#feature_delete");
form.find('input[name="fid"]').val(feature.fid);
AjaxMgr.add({
switch (xml.documentElement.getAttribute("reason")) {
case "unauthorized":
$("#login_area").show();
+ $("#cookie_warning").show();
this.reset();
+ Admin.cancelCurrentFeature();
Admin.reset();
break;
case "server":
commError: function (message) {
$("#server_comm").text(message);
$("#server_comm").removeClass().addClass("error");
- if (message.length) {
- // this.move(Admin.currentFeature, Admin.currentFeatureLocation);
- // Admin.reset();
- }
}
}
return false;
});
$("#image_delete").click(function() {
+ alert (SypStrings.DisabledForDemo);
+ return;
$("#img").removeAttr('src');
// needs to rebuild element otherwise some browsers still
// display image.