Commit 9b7861ff authored by Roque's avatar Roque

hateoas: removing hardcoded workaound

parent 379bd22d
...@@ -858,9 +858,6 @@ def renderForm(traversed_document, form, response_dict, key_prefix=None, selecti ...@@ -858,9 +858,6 @@ def renderForm(traversed_document, form, response_dict, key_prefix=None, selecti
# prevent allowing editing if user doesn't have permission # prevent allowing editing if user doesn't have permission
include_action = False include_action = False
# [HARDCODED] when adding hateoas script url to appcache, it fails due to lack of permissions
# TODO: solve this
include_action = True
if (include_action): if (include_action):
# Form action # Form action
response_dict['_actions'] = { response_dict['_actions'] = {
......
Markdown is supported
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