Forums

Home » Liferay Social Office

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
dave ch
Microblogs Portlet same time edit/comment issue
March 24, 2013 12:39 PM
Answer

dave ch

Rank: Regular Member

Posts: 164

Join Date: February 6, 2012

Recent Posts

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
dave ch
RE: Microblogs Portlet same time edit/comment issue
March 25, 2013 2:00 AM
Answer

dave ch

Rank: Regular Member

Posts: 164

Join Date: February 6, 2012

Recent Posts

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:

 1<c:when test="<%= !edit %>">
 2                var autocomplete = A.one('#<portlet:namespace/>autocomplete<%= microblogsEntryId %>');
 3
 4                autocomplete.on(
 5                    'click',
 6                    function(event) {
 7                        var contentInput = A.one('#<portlet:namespace/>contentInput<%= microblogsEntryId %>');
 8                        var highlighterContent = A.one('#<portlet:namespace/>highlighterContent<%= microblogsEntryId %>');
 9
10                        if (!contentInput) {
11                            highlighterContent.removeClass('textbox');
12                                 
13                            createTextarea('#<portlet:namespace />autocompleteContent');
14                        }
15                    }
16                );

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
dave ch
RE: Microblogs Portlet same time edit/comment issue
March 25, 2013 9:12 AM
Answer

dave ch

Rank: Regular Member

Posts: 164

Join Date: February 6, 2012

Recent Posts

Yes, anybody?
Jonathan Lee
RE: Microblogs Portlet same time edit/comment issue
March 25, 2013 9:52 AM
Answer

Jonathan Lee

LIFERAY STAFF

Rank: New Member

Posts: 14

Join Date: September 16, 2010

Recent Posts

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
Jonathan Lee
RE: Microblogs Portlet same time edit/comment issue
March 25, 2013 9:55 AM
Answer

Jonathan Lee

LIFERAY STAFF

Rank: New Member

Posts: 14

Join Date: September 16, 2010

Recent Posts

http://issues.liferay.com/browse/SOS-1472
dave ch
RE: Microblogs Portlet same time edit/comment issue
April 3, 2013 9:11 AM
Answer

dave ch

Rank: Regular Member

Posts: 164

Join Date: February 6, 2012

Recent Posts

This issue is solved. Need to take a different microblogsEntryId for comment . This solves the issue.

Thanks,
dave