Fixing few issues with context menu icon missing.

Introduced a new ajax function to return the HTTP Status code 410 (GONE).
Changed the location of the javascript from each modules, it loads.

Added .swp, .swo files in the .gitignore file
This commit is contained in:
Ashesh Vashi
2015-12-04 14:47:18 +05:30
parent b36e264fd3
commit 537df154fe
4 changed files with 12 additions and 2 deletions

View File

@@ -312,7 +312,7 @@ class NodeView(with_metaclass(MethodViewType, View)):
"""
return flask.make_response(
flask.render_template(
"{0}/{0}.js".format(self.node_type)
"{0}/js/{0}.js".format(self.node_type)
),
200, {'Content-Type': 'application/x-javascript'}
)