change end points to right export endpoint

pull/35/head
John McLear 2011-07-20 15:48:24 +01:00
parent d8e39e82d1
commit 77dc7ede14
1 changed files with 3 additions and 4 deletions

View File

@ -21,12 +21,11 @@ var socket;
$(document).ready(function() $(document).ready(function()
{ {
handshake(); handshake();
// temporary place holder for exports, peter to move wherever he wants to put
$("#exporthtmla").attr("href", document.location.href + "/export/html"); $("#exporthtmla").attr("href", document.location.href + "/export/html");
$("#exportplaina").attr("href", document.location.href + "/export/plain"); $("#exportplaina").attr("href", document.location.href + "/export/txt");
$("#exportworda").attr("href", document.location.href + "/export/word"); $("#exportworda").attr("href", document.location.href + "/export/doc");
$("#exportpdfa").attr("href", document.location.href + "/export/pdf"); $("#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"); $("#exportwordlea").attr("href", document.location.href + "/export/wordle");
}); });