]> git.wh0rd.org Git - tt-rss.git/commitdiff
mobile: fix toggle published button not working
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 16 Nov 2011 07:58:58 +0000 (11:58 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 16 Nov 2011 07:58:58 +0000 (11:58 +0400)
mobile/mobile.js

index 2a948ca4f46704eab739ea20d18223695b284d58..2771a8a40f48abbf9f1fc0f0a07e0dd6b71853cc 100644 (file)
@@ -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,