1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-12 13:34:39 +02:00

Partial fix for modal window size

This commit is contained in:
Cameron
2013-03-13 03:25:38 -07:00
parent b864c192e1
commit ea6ef5d648
4 changed files with 7 additions and 4 deletions

View File

@@ -26,7 +26,7 @@
getInfo : function() {
return {
longname : 'jQuery UI Inline Popups',
author : 'Richard Willis',
author : 'Richard Willis. Modified by e107 Inc.',
authorurl : 'http://badsyntax.co',
infourl : 'http://is.gd/j1FuI',
version : '0.1b'
@@ -131,8 +131,10 @@
var wdt = f.width + 'px';
$('#uiModal .modal-caption').text(f.title);
// $('#uiModal').css('height',f.height + "px");
var windowHeight = $(window).height() - 50;
$('#uiModal').width(wdt);
$('#uiModal').css('min-width','800px');
$('#uiModal').css('max-height', $(window).height());
$('#uiModal .modal-body').html("<iframe src='" + src + "' width='100%' height='" + (f.height + 60) + "px' frameborder='0'></iframe>");
$('#uiModal .modal-footer').text('');