Insert Emoticons
Insert Emoticons
Insert Emoticons
There are many factors that affect the cooling of
var CommentLikesTooltips;
var ComposerNestedActivityComment;
var hideItemFeeds;
var unhideItemFeed;
var moreEditOptionsSwitch;
var unhideReqActive = false;
var el_siteevent;
var photoEnabled = '1';
var smiliesEnabled = '1';
var activityTaggingContent = 'friends';
var allowQuickComment = '1';
var allowQuickReply = '1';
var requestOptionsURLNestedComment = en4.core.baseUrl + 'sitealbum/album/compose-upload/type/comment';
var fancyUploadOptionsURLNestedComment = en4.core.baseUrl + 'sitealbum/album/compose-upload/format/json/type/comment';
en4.core.runonce.add(function () {
scriptJquery('#activity-feed').find('.seao_icons_toolbar_attach').each(function (id,el) {
if ((scriptJquery('#activity-feed').seaoGetCoordinates().right * 0.65) < scriptJquery(el).seaoGetCoordinates().left) {
scriptJquery(el).addClass('seao_icons_toolbar_right');
} else {
scriptJquery(el).removeClass('seao_icons_toolbar_right');
}
});
en4.core.language.addData({
"Stories from %s are hidden now and will not appear in your Activity Feed anymore.": "Posts from %s are hidden now and will not appear in your Activity Feed anymore."
});
// Add hover event to get likes
scriptJquery('.comments_comment_likes').on('mouseover', function (event) {
var el = scriptJquery(event.target);
if (!el.retrieve('tip-loaded', false)) {
el.data('tip-loaded', true);
el.data('tip:title', 'Loading...');
el.data('tip:text', '');
var id = el.attr('id').match(/\d+/)[0];
// Load the likes
var url = '/advancedactivity/index/get-likes';
var req = scriptJquery.ajax({
url: url,
dataType:'json',
method:'post',
data: {
format: 'json',
//type : 'core_comment',
action_id: el.closest('li').closest('li').closest('li').attr('id').match(/\d+/)[0],
comment_id: id
},
success: function (responseJSON) {
el.data('tip:title', responseJSON.body);
el.data('tip:text', '');
CommentLikesTooltips.elementEnter(event, el); // Force it to update the text
}
});
}
});
// Add tooltips
// CommentLikesTooltips = new Tips(scriptJquery('.comments_comment_likes'), {
// fixed: true,
// className: 'comments_comment_likes_tips',
// offset: {
// 'x': 20,
// 'y': 10
// }
// });
// Enable links in comments
scriptJquery('.comments_body').enableLinks();
scriptJquery('.feed_item_body_content').enableLinks();
if (feedToolTipAAFEnable) {
// Add hover event to get tool-tip
var show_tool_tip = false;
var counter_req_pendding = 0;
scriptJquery('.sea_add_tooltip_link').on('mouseover', function (event) {
var el = scriptJquery(event.target);
el_siteevent = el;
ItemTooltips.options.offset.y = el.offsetHeight;
ItemTooltips.options.showDelay = 0;
if (!el.attr('rel')) {
el = el.parentNode;
}
if (el && !el.retrieve('tip-loaded', false)) {
el.data('tip:title', '');
el.data('tip:text', '');
}
if (el.closest('.layout_advancedactivitypost_feed_short'))
return;
show_tool_tip = true;
if (!el.retrieve('tip-loaded', false)) {
counter_req_pendding++;
var resource = '';
if (el.attr('rel'))
resource = el.attr('rel');
if (resource == '')
return;
el.data('tip-loaded', true);
el.data('tip:title', '
Insert Emoticons Loading ...
Insert Emoticons
Insert Emoticons
Insert Emoticons
Insert Emoticons
Insert Emoticons
Insert Emoticons
Insert Emoticons
Insert Emoticons
Insert Emoticons
Insert Emoticons
Insert Emoticons