I created a web application in sharepoint that has a link to a link that loads the web page of entering the modal window when clicked. I did not set the height of the pop modal options, but I set only its width.
IE 7, 8, and 9 load the web page according to my need and automatically adjust its height when loading. But Firefox (test without verification in Chrome) loads the web page, but the height is not automatically adjusted to match the WP login.
I tried using SP.UI.ModalDialog.get_childDialog (). autoSize () is explicitly as below
ExecuteOrDelayUntilScriptLoaded(function () { SP.UI.ModalDialog.get_childDialog().autoSize(); }, "sp.ui.dialog.js");
But this also does not work for Firefox. The autoSize call in IE works fine when I display errors on the login screen, but on FF it returns a height of less than 20 pixels and the modal popup has a width but its height is less than 20.
How to solve this problem?
Please, help.
Sorry if I look like noob for everyone.
Thank you in advance
source share