mercredi 4 mars 2015

Height of ModalDialog not working in IE8



I have following code for an SP.UI.ModalDialog:



function SendDocument(siteUrl, listID, itemID)
{
var options = SP.UI.$create_DialogOptions();

options.url = siteUrl + "/SendDocument.aspx?url=" + siteUrl + "&list=" + listID + "&item=" + itemID;
options.width = 550;
options.height = 800;
options.dialogReturnValueCallback = editCallback;

SP.UI.ModalDialog.showModalDialog(options);
}


This code is running in SharePoint 2010 with following versions:



  • jQuery 1.4.1

  • jQuery UI 1.8.10


I cannot change/update the version of these jQuery files. Following browsers show the correct height:



  • Google Chrome 40.0.2214.115

  • Internet Explorer 9(.0.8112.16421)

    • Update versions 9.0.2 and 9.0.13




But, Internet Explorer 8 will not take the given height, no matter what height I provide in the options parameter.


Does anyone have a solution for this?








0 commentaires:

Enregistrer un commentaire