X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=js%2Fadmin.js;h=48c1eed55637c4af755de547eca9c3f1a9e5d1cf;hp=259c914ae8c446165e8a5c613463687845c5612c;hb=c58963cfcd8a6ec3cd5374af8412c883b38e1a38;hpb=bd5438d61fd67d910da4183d4870366961a97b4a diff --git a/js/admin.js b/js/admin.js index 259c914..48c1eed 100644 --- a/js/admin.js +++ b/js/admin.js @@ -250,6 +250,8 @@ var Admin = { }, addNewFeature: function () { + alert (SypStrings.DisabledForDemo); + return; function cancel() { $(document).unbind("keydown"); Admin.reset() @@ -353,6 +355,8 @@ var FeatureMgr = { }, del: function (feature) { + alert (SypStrings.DisabledForDemo); + return; var form = $("#feature_delete"); form.find('input[name="fid"]').val(feature.fid); AjaxMgr.add({ @@ -706,6 +710,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.