Fórum

Microblogs Portlet same time edit/comment issue

thumbnail
dave ch, modificado 11 Anos atrás.

Microblogs Portlet same time edit/comment issue

Regular Member Postagens: 161 Data de Entrada: 07/02/12 Postagens Recentes
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 11 Anos atrás.

RE: Microblogs Portlet same time edit/comment issue

Regular Member Postagens: 161 Data de Entrada: 07/02/12 Postagens Recentes
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 11 Anos atrás.

RE: Microblogs Portlet same time edit/comment issue

Regular Member Postagens: 161 Data de Entrada: 07/02/12 Postagens Recentes
Yes, anybody?
thumbnail
Jonathan Lee, modificado 11 Anos atrás.

RE: Microblogs Portlet same time edit/comment issue

New Member Postagens: 14 Data de Entrada: 16/09/10 Postagens Recentes
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 11 Anos atrás.

RE: Microblogs Portlet same time edit/comment issue

New Member Postagens: 14 Data de Entrada: 16/09/10 Postagens Recentes
http://issues.liferay.com/browse/SOS-1472
thumbnail
dave ch, modificado 11 Anos atrás.

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

Regular Member Postagens: 161 Data de Entrada: 07/02/12 Postagens Recentes
This issue is solved. Need to take a different microblogsEntryId for comment . This solves the issue.

Thanks,
dave