Fórumok

Microblogs Portlet same time edit/comment issue

thumbnail
dave ch, módosítva 11 év-val korábban

Microblogs Portlet same time edit/comment issue

Regular Member Bejegyzések: 161 Csatlakozás dátuma: 2012.02.07. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: Microblogs Portlet same time edit/comment issue

Regular Member Bejegyzések: 161 Csatlakozás dátuma: 2012.02.07. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: Microblogs Portlet same time edit/comment issue

Regular Member Bejegyzések: 161 Csatlakozás dátuma: 2012.02.07. Legújabb bejegyzések
Yes, anybody?
thumbnail
Jonathan Lee, módosítva 11 év-val korábban

RE: Microblogs Portlet same time edit/comment issue

New Member Bejegyzések: 14 Csatlakozás dátuma: 2010.09.16. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: Microblogs Portlet same time edit/comment issue

New Member Bejegyzések: 14 Csatlakozás dátuma: 2010.09.16. Legújabb bejegyzések
http://issues.liferay.com/browse/SOS-1472
thumbnail
dave ch, módosítva 11 év-val korábban

RE: Microblogs Portlet same time edit/comment issue (Válasz)

Regular Member Bejegyzések: 161 Csatlakozás dátuma: 2012.02.07. Legújabb bejegyzések
This issue is solved. Need to take a different microblogsEntryId for comment . This solves the issue.

Thanks,
dave