Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.0 CE RC1
-
None
Description
autoCreate property does not work using Simple when the value of autoCreate is false.
1.- Steps to reproduce:
- Modify next file:
modules/apps/collaboration/blogs/blogs-web/src/main/resources/META-INF/resources/blogs/edit_entry.jsp
- Change line 147:
<liferay-ui:input-editor contents="<%= HtmlUtil.escape(title) %>" editorName="alloyeditor" name="titleEditor" placeholder="title" showSource="<%= false %>" />
To
<liferay-ui:input-editor autoCreate="<%= false %>" contents="<%= HtmlUtil.escape(title) %>" editorName="simple" name="titleEditor" placeholder="title" showSource="<%= false %>" />
- Go to content -> blog -> add -> new blog entry
2.- Expected behaviour:
No JS errors
3.- Current behaviour:
JS Error: Uncaught TypeError: Cannot read property 'value' of null