Always display content.json changer in sidebar to avoid dom merger bug
This commit is contained in:
parent
f89f351b3c
commit
9e97f0d318
1 changed files with 5 additions and 6 deletions
|
@ -411,7 +411,6 @@ class UiWebsocketPlugin(object):
|
||||||
# Choose content you want to sign
|
# Choose content you want to sign
|
||||||
contents = ["content.json"]
|
contents = ["content.json"]
|
||||||
contents += site.content_manager.contents.get("content.json", {}).get("includes", {}).keys()
|
contents += site.content_manager.contents.get("content.json", {}).get("includes", {}).keys()
|
||||||
if len(contents) > 1:
|
|
||||||
body.append(_(u"<div class='contents'>{_[Choose]}: "))
|
body.append(_(u"<div class='contents'>{_[Choose]}: "))
|
||||||
for content in contents:
|
for content in contents:
|
||||||
content = cgi.escape(content, True)
|
content = cgi.escape(content, True)
|
||||||
|
|
Loading…
Reference in a new issue