X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=js%2Fadmin.js;h=03214a000f4f2fbc102a95920f5b6fd04843aa3b;hp=02c88e3cb5d0d557815b4f9c49bff6b1701d84e8;hb=538e9c7fc6b55272d4599e05d1bc4bb25f17f849;hpb=8a58d7bd72f27f30a650f24754821da67bbbf3a6 diff --git a/js/admin.js b/js/admin.js index 02c88e3..03214a0 100644 --- a/js/admin.js +++ b/js/admin.js @@ -255,6 +255,8 @@ var Admin = { }, addNewFeature: function () { + alert (SypStrings.DisabledForDemo); + return; function cancel() { $(document).unbind("keydown"); Admin.reset() @@ -358,6 +360,8 @@ var FeatureMgr = { }, del: function (feature) { + alert (SypStrings.DisabledForDemo); + return; var form = $("#feature_delete"); form.find('input[name="fid"]').val(feature.fid); AjaxMgr.add({ @@ -708,6 +712,8 @@ $(window).load(function () { return false; }); $("#image_delete").click(function() { + alert (SypStrings.DisabledForDemo); + return; $("#img").removeAttr('src'); // needs to rebuild element otherwise some browsers still // display image.