summary refs log tree commit diff stats
path: root/theme/admin/drafts.tpl
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2010-03-12 22:00:35 -0500
committerStarla Insigna <hatkirby@fourisland.com>2010-03-12 22:00:35 -0500
commit6dbe0dfbd02f1be6c2e25e1916cd26b627076cef (patch)
treeb13313f49a722f970c3c6c0fd2f0d8ed899a921b /theme/admin/drafts.tpl
parent47bfbec81bfaf3314018d3100d678ee37af88b2b (diff)
downloadfourisland-6dbe0dfbd02f1be6c2e25e1916cd26b627076cef.tar.gz
fourisland-6dbe0dfbd02f1be6c2e25e1916cd26b627076cef.tar.bz2
fourisland-6dbe0dfbd02f1be6c2e25e1916cd26b627076cef.zip
Fixed &amp; admin panel bug
In the admin panel, many (if not all) dynamic links use AJAX to POST a page. These all contained &amp; in the URL, which didn't resolve to & as it should.
These have all been replaced.
Diffstat (limited to 'theme/admin/drafts.tpl')
-rwxr-xr-xtheme/admin/drafts.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/theme/admin/drafts.tpl b/theme/admin/drafts.tpl index 17757ba..e798fd9 100755 --- a/theme/admin/drafts.tpl +++ b/theme/admin/drafts.tpl
@@ -7,7 +7,7 @@ function deletePost(id)
7{ 7{
8 if (confirm("Are you sure you would like to delete this draft?")) 8 if (confirm("Are you sure you would like to delete this draft?"))
9 { 9 {
10 postwith("/admin/drafts.php?pageID=<!--PAGEID-->&amp;action=delete",{id:id}); 10 postwith("/admin/drafts.php?pageID=<!--PAGEID-->&action=delete",{id:id});
11 } 11 }
12} 12}
13 13
@@ -41,7 +41,7 @@ function bulkAction()
41 { 41 {
42 if (confirm("Are you sure you would like to delete the selected drafts?")) 42 if (confirm("Are you sure you would like to delete the selected drafts?"))
43 { 43 {
44 postwith("/admin/drafts.php?pageID=<!--PAGEID-->&amp;action=deletes",{ids:ids}); 44 postwith("/admin/drafts.php?pageID=<!--PAGEID-->&action=deletes",{ids:ids});
45 } 45 }
46 } 46 }
47 } 47 }