From 1df7a5ffc4146e63ea2c657f1b19dd910d251094 Mon Sep 17 00:00:00 2001 From: sanj Date: Thu, 29 Jul 2010 01:19:55 +0530 Subject: [PATCH] pdf gets article --- edgware/static/js/editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/edgware/static/js/editor.js b/edgware/static/js/editor.js index 9932694..11e3328 100644 --- a/edgware/static/js/editor.js +++ b/edgware/static/js/editor.js @@ -1605,7 +1605,8 @@ $('.download_doc').live("click", function(e) { $('.printMe').live("click", function(e) { var page = $(this).getCanvas(); var page_id = page.id; - var url = BASE_URL + "page_pdf/?p=" + page_id + "&a=" + ARTICLE_ID; +// var url = BASE_URL + "page_pdf/?p=" + page_id + "&a=" + ARTICLE_ID; + var url = BASE_URL + "print_article/?id=" + ARTICLE_ID; window.open(url); });