X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=js%2Fredirection.js;h=1a0c99b0bf4aceac2dabd0e286bceb81166d4c0a;hb=abf2f6b430739710532b7bdfb6f20566f35f35b5;hp=b3794378c91a5c1a918c61e3f0756a17e40b70ff;hpb=d6f5dd9adfa8bccc7799396554dfaf80d9522a38;p=Rakka.git diff --git a/js/redirection.js b/js/redirection.js index b379437..1a0c99b 100644 --- a/js/redirection.js +++ b/js/redirection.js @@ -15,15 +15,14 @@ $(document).ready(function () { var editButton = $.INPUT({className: "editButton", type: "button", - value: from, - title: "Edit the page"}); + value: "Edit the page"}); $(editButton).click(function () { - alert("not implemented"); + Rakka.editPage(from); }); var box = $.P({className: "redirection"}, - "This page is redirected from ", editButton, "."); + "This page has been redirected from “" + from + "”.", editButton); $("div.title").after(box); }