From 77dc7ede14f7a2c674eb54dfb759beaf1dda460f Mon Sep 17 00:00:00 2001 From: John McLear Date: Wed, 20 Jul 2011 15:48:24 +0100 Subject: [PATCH] change end points to right export endpoint --- static/js/pad2.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/static/js/pad2.js b/static/js/pad2.js index 9d98b6530..4a861d76d 100644 --- a/static/js/pad2.js +++ b/static/js/pad2.js @@ -21,12 +21,11 @@ var socket; $(document).ready(function() { handshake(); -// temporary place holder for exports, peter to move wherever he wants to put $("#exporthtmla").attr("href", document.location.href + "/export/html"); - $("#exportplaina").attr("href", document.location.href + "/export/plain"); - $("#exportworda").attr("href", document.location.href + "/export/word"); + $("#exportplaina").attr("href", document.location.href + "/export/txt"); + $("#exportworda").attr("href", document.location.href + "/export/doc"); $("#exportpdfa").attr("href", document.location.href + "/export/pdf"); - $("#exportopena").attr("href", document.location.href + "/export/open"); + $("#exportopena").attr("href", document.location.href + "/export/odt"); $("#exportwordlea").attr("href", document.location.href + "/export/wordle"); });