Commit 276e0bf2 authored by Marcel Rieger's avatar Marcel Rieger
Browse files

Remove redundant ajax tool usage in platform extensions.

parent 8f84079a
......@@ -15,7 +15,6 @@ class EditorController(AbstractController):
window_id=windowId, view_id=viewId)
@cherrypy.expose
@cherrypy.tools.ajax()
def execute(self, cmd, base):
self.release_session()
rpc = self.getrpc()
......@@ -33,7 +32,6 @@ class EditorController(AbstractController):
return {"runningjob": rpc.runningjob()}
@cherrypy.expose
@cherrypy.tools.ajax()
def abort(self):
self.release_session()
rpc = self.getrpc()
......@@ -41,7 +39,6 @@ class EditorController(AbstractController):
return {"success": rpc.abort()}
@cherrypy.expose
@cherrypy.tools.ajax()
def close(self):
self.release_session()
rpc = self.getrpc()
......
......@@ -23,7 +23,6 @@ class DemoController(AbstractController):
# controller method is invoked, i.e., in most cases you don't need to
# distinguish between multiple user-owned workspaces
@cherrypy.expose
@cherrypy.tools.ajax()
def ls(self, path=None):
logger.info(cherrypy.request.workspace)
# this method will return the names of files contained in "path"
......
......@@ -13,7 +13,6 @@ class DummyController(AbstractController):
self.extension = extension
@cherrypy.expose
@cherrypy.tools.ajax()
def data(self):
content = ""
......@@ -33,7 +32,6 @@ class DummyController(AbstractController):
return content
@cherrypy.expose
@cherrypy.tools.ajax()
def failure(self, msg=None):
if msg == None:
msg = "This is a failure message. Something went wrong!"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment