From bc230f3fde779e7f4b45c2c40ef803061e6e7227 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 28 Dec 2012 00:42:10 +0400 Subject: [PATCH] change ?op= to op= in mobile/ ajax.request (closes #523) --- mobile/mobile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mobile/mobile.js b/mobile/mobile.js index 2771a8a40..3fed3a1d7 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,