Foros de discusión

Microblogs Portlet same time edit/comment issue

thumbnail
dave ch, modificado hace 11 años.

Microblogs Portlet same time edit/comment issue

Regular Member Mensajes: 161 Fecha de incorporación: 7/02/12 Mensajes recientes
Hi all,
I am using Liferay Social Office's Microblog Portlet.
For the first time When i click on edit link of a post (but not edited the post) at the same time if i click on the comment link of the same post the textbox pops up but i seems to be like it is disabled, because when i click on the textbox nothing happens. Default behavior wud be , i 'll be able to enter text on the textbox and the Post button should also appear.
What would be the possible reason for this behavior? Is that not possible to edit and comment the same post at a time?

Any help would be appreciated?

Thanks,
Dave
thumbnail
dave ch, modificado hace 11 años.

RE: Microblogs Portlet same time edit/comment issue

Regular Member Mensajes: 161 Fecha de incorporación: 7/02/12 Mensajes recientes
OK, this issue is currently in Trunk.
Have anybody has tried to resolve this issue? In edit_microblogd_entry.jsp i have this piece of code:

<c:when test="<%= !edit %>">
				var autocomplete = A.one('#<portlet:namespace />autocomplete&lt;%= microblogsEntryId %&gt;');

				autocomplete.on(
					'click',
					function(event) {
						var contentInput = A.one('#<portlet:namespace />contentInput&lt;%= microblogsEntryId %&gt;');
						var highlighterContent = A.one('#<portlet:namespace />highlighterContent&lt;%= microblogsEntryId %&gt;');

						if (!contentInput) {
							highlighterContent.removeClass('textbox');
                                  
							createTextarea('#<portlet:namespace />autocompleteContent');
						}
					}
				);</c:when>

This autocomplete seems to be not working when i click comment after clicking edit for the same post.
Any further help would definitely appreciated.

Thanks,
Dave
thumbnail
dave ch, modificado hace 11 años.

RE: Microblogs Portlet same time edit/comment issue

Regular Member Mensajes: 161 Fecha de incorporación: 7/02/12 Mensajes recientes
Yes, anybody?
thumbnail
Jonathan Lee, modificado hace 11 años.

RE: Microblogs Portlet same time edit/comment issue

New Member Mensajes: 14 Fecha de incorporación: 16/09/10 Mensajes recientes
Hi Dave,

Thank you for reporting this issue. Social Office Development Team will take a look at this issue. I will be posting the Jira ticket here.

As of now, Social Office on trunk is not supported. We released Social Office for 6.1. If you are building from source. The best branch to build from is plugins\6.1.x. Thanks

Jonathan Lee
thumbnail
Jonathan Lee, modificado hace 11 años.

RE: Microblogs Portlet same time edit/comment issue

New Member Mensajes: 14 Fecha de incorporación: 16/09/10 Mensajes recientes
http://issues.liferay.com/browse/SOS-1472
thumbnail
dave ch, modificado hace 10 años.

RE: Microblogs Portlet same time edit/comment issue (Respuesta)

Regular Member Mensajes: 161 Fecha de incorporación: 7/02/12 Mensajes recientes
This issue is solved. Need to take a different microblogsEntryId for comment . This solves the issue.

Thanks,
dave