mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-31 12:56:11 +01:00
Remove send_order from ajax handler
This commit is contained in:
parent
d6dd30b685
commit
481eff9486
@ -114,13 +114,7 @@ class AjaxHandler(BaseHandler):
|
|||||||
if api_key is not None:
|
if api_key is not None:
|
||||||
superuser = superuser and api_key.superuser
|
superuser = superuser and api_key.superuser
|
||||||
|
|
||||||
if page == "send_order":
|
if page == "select_photo":
|
||||||
self.controller.users.update_server_order(
|
|
||||||
exec_user["user_id"], bleach.clean(self.get_argument("order"))
|
|
||||||
)
|
|
||||||
return
|
|
||||||
|
|
||||||
elif page == "select_photo":
|
|
||||||
if exec_user["superuser"]:
|
if exec_user["superuser"]:
|
||||||
photo = urllib.parse.unquote(self.get_argument("photo", ""))
|
photo = urllib.parse.unquote(self.get_argument("photo", ""))
|
||||||
opacity = self.get_argument("opacity", 100)
|
opacity = self.get_argument("opacity", 100)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user