summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-11-16 11:58:58 +0400
committerAndrew Dolgov <[email protected]>2011-11-16 11:58:58 +0400
commit513ebe42e5f8c56ce2aba031daff2ce51d8dfab1 (patch)
tree267ee1c03ce39c3c210b1e0ac78985990bbcfbe3
parent81745ce738542b6a8fc8523ead13d91c5a246cd5 (diff)
mobile: fix toggle published button not working
-rw-r--r--mobile/mobile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile/mobile.js b/mobile/mobile.js
index 2a948ca4f..2771a8a40 100644
--- a/mobile/mobile.js
+++ b/mobile/mobile.js
@@ -29,7 +29,7 @@ function togglePublished(id, elem) {
toggled = 0;
}
- var query = "?op=togglePublished&id=" + id + "&mark=" + toggled;
+ var query = "?op=togglePublished&id=" + id + "&pub=" + toggled;
new Ajax.Request(backend, {
parameters: query,