‘, $ d = (m) b = a. $ article,f=b.data(“sectionuniquename”),e=b.data(“sectionname”),h=b.data(“publicationname”),g=”.sidePlaylist .listContainer “; if (a.sender ==” playlist “& amp; & amp;! b.hasClass (” ST-Direct “)) {var l=”http://sicnoticias.sapo.pt/economia?p_p_id=listportlet_WAR_contentportlet_INSTANCE_rNQ8GjNbKeSD&p_p_lifecycle=0&p_p_state=exclusive&p_p_mode=view&p_p_col_id=_118_INSTANCE_3RJIQv5B3Y0e__column-1&p_p_col_count=6&_listportlet_WAR_contentportlet_INSTANCE_rNQ8GjNbKeSD_jspPage=%2Fhtml%2Fview.jsp&contentSource=Section§ion=”+f+”&groupId=&contentType=videoimpresa&playlistAutoplay=false”;for(i=0;i “+ e +” “); c.find (.” selected “) removeClass (.” selected “); $ (g).before(d.html())}PortalCommon.initCustomScrollbar(j);PortalCommon.init.initPlaylist(k,false);Liferay.fire(PortalCommon.Events.PLAYLIST_REFRESHED,k)});if(h==”sicnot”){d.find(“.titleContainer”).text(e);c.find(“.divTitle”).remove();c.find(“.selected”).removeClass(“selected”);c.find(“.listContainer”).append(d);d.click(function(){_onPrimaryRequest(a)})}}}function _onRelatedRequest (e) {var b=”http://sicnoticias.sapo.pt/economia?p_p_id=listportlet_WAR_contentportlet_INSTANCE_rNQ8GjNbKeSD&p_p_lifecycle=0&p_p_state=exclusive&p_p_mode=view&p_p_col_id=_118_INSTANCE_3RJIQv5B3Y0e__column-1&p_p_col_count=6&_listportlet_WAR_contentportlet_INSTANCE_rNQ8GjNbKeSD_jspPage=%2Fhtml%2Fview.jsp&contentSource=Related Articles&impresaContentId=”+e.articleId+”&playlistAutoplay=”+(e.autoplay?”true”:”false”),d=”,a=$ (D) = $ f (“.sidePlaylistTabs”),c=”p_p_id_listportlet_WAR_contentportlet_INSTANCE_rNQ8GjNbKeSD_”,g=”#”+c;if(e.filtertype){b=b+”&filtertype=”+e.filtertype}if(e.relation){b=b+”&relation=”+e.relation}if(e.showPlaylistTitle){a.find(“.titleContainer”).text(e.title);a.click(function(){_onRelatedRequest(e)});f.find(“.divTitle”).remove();f.find(“.selected”).removeClass(“selected”);f.find(“.listContainer”).append(a)}for(i=0;i
‘, $ a = (d), f = $ (“.sidePlaylistTabs”),c=”p_p_id_listportlet_WAR_contentportlet_INSTANCE_rNQ8GjNbKeSD_”,g=”#”+c;for(i=0;i
No comments:
Post a Comment