From 6dbe0dfbd02f1be6c2e25e1916cd26b627076cef Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Fri, 12 Mar 2010 22:00:35 -0500 Subject: Fixed & admin panel bug In the admin panel, many (if not all) dynamic links use AJAX to POST a page. These all contained & in the URL, which didn't resolve to & as it should. These have all been replaced. --- theme/admin/modquotes.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'theme/admin/modquotes.tpl') diff --git a/theme/admin/modquotes.tpl b/theme/admin/modquotes.tpl index 545a171..016f7a5 100755 --- a/theme/admin/modquotes.tpl +++ b/theme/admin/modquotes.tpl @@ -7,13 +7,13 @@ function denyQuote(id) { if (confirm("Are you sure you would like to deny this quote?")) { - postwith("/admin/modquotes.php?pageID=&action=deny",{id:id}); + postwith("/admin/modquotes.php?pageID=&action=deny",{id:id}); } } function approveQuote(id) { - postwith("/admin/modquotes.php?pageID=&action=approve",{id:id}); + postwith("/admin/modquotes.php?pageID=&action=approve",{id:id}); } // following function taken from http://mentaljetsam.wordpress.com/2008/06/02/using-javascript-to-post-data-between-pages/ @@ -46,13 +46,13 @@ function bulkAction() { if (confirm("Are you sure you would like to deny the selected quotes?")) { - postwith("/admin/modquotes.php?pageID=&action=denys",{ids:ids}); + postwith("/admin/modquotes.php?pageID=&action=denys",{ids:ids}); } } else if ($('#manage-bulk select').val() == "approve") { if (confirm("Are you sure you would like to approve the selected quotes?")) { - postwith("/admin/modquotes.php?pageID=&action=approves",{ids:ids}); + postwith("/admin/modquotes.php?pageID=&action=approves",{ids:ids}); } } } -- cgit 1.4.1