From: Andrew Dolgov Date: Thu, 27 Dec 2012 20:42:10 +0000 (+0400) Subject: change ?op= to op= in mobile/ ajax.request (closes #523) X-Git-Tag: 1.7.0~90^2~4 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=bc230f3fde779e7f4b45c2c40ef803061e6e7227;p=tt-rss.git change ?op= to op= in mobile/ ajax.request (closes #523) --- diff --git a/mobile/mobile.js b/mobile/mobile.js index 2771a8a4..3fed3a1d 100644 --- a/mobile/mobile.js +++ b/mobile/mobile.js @@ -10,7 +10,7 @@ function toggleMarked(id, elem) { toggled = 0; } - var query = "?op=toggleMarked&id=" + id + "&mark=" + toggled; + var query = "op=toggleMarked&id=" + id + "&mark=" + toggled; new Ajax.Request(backend, { parameters: query, @@ -29,7 +29,7 @@ function togglePublished(id, elem) { toggled = 0; } - var query = "?op=togglePublished&id=" + id + "&pub=" + toggled; + var query = "op=togglePublished&id=" + id + "&pub=" + toggled; new Ajax.Request(backend, { parameters: query, @@ -49,7 +49,7 @@ function toggleUnread(id, elem) { toggled = 0; } - var query = "?op=toggleUnread&id=" + id + "&unread=" + toggled; + var query = "op=toggleUnread&id=" + id + "&unread=" + toggled; new Ajax.Request(backend, { parameters: query, @@ -69,7 +69,7 @@ function setPref(elem) { toggled = 0; } - var query = "?op=setPref&id=" + id + "&to=" + toggled; + var query = "op=setPref&id=" + id + "&to=" + toggled; new Ajax.Request(backend, { parameters: query,