SharePoint 2010 + Google Chrome browser - make sure that the Ribbon appears + that the function OpenPopUpPageWithTitle() is available
SharePoint 2010 + Google Chrome browser:
To make sure that the Ribbon appears, and that the function OpenPopUpPageWithTitle() is available:
call this function, after the document loads.
e.g. in jQuery:
To make sure that the Ribbon appears, and that the function OpenPopUpPageWithTitle() is available:
call this function, after the document loads.
e.g. in jQuery:
$(function() {
FixSharePointForChrome();
});
/* to solve spurious SharePoint 2010 issues with the Google Chrome browser:
- SharePoint Ribbon not loading
- the popup window function OpenPopUpPageWithTitle is not available
*/
FixSharePointForChrome = function () {
if ($.browser.webkit) {
$("#s4-workspace").height(jQuery(window).height() - $("#s4-ribbonrow").height()); //show the ribbon
_spBodyOnLoadWrapper(); //forces the core SP js to re-load
}
};
Comments
Post a Comment