mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°1666 - Fix missing scroll bar missing in modal window "Create a new field" from Request Template
This commit is contained in:
@@ -1,3 +1,21 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2013-2019 Combodo SARL
|
||||||
|
*
|
||||||
|
* This file is part of iTop.
|
||||||
|
*
|
||||||
|
* iTop is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* iTop is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
*/
|
||||||
|
|
||||||
// jQuery UI style "widget" for managing 1:n links "in-place"
|
// jQuery UI style "widget" for managing 1:n links "in-place"
|
||||||
$(function()
|
$(function()
|
||||||
{
|
{
|
||||||
@@ -172,6 +190,7 @@ $(function()
|
|||||||
modal: true,
|
modal: true,
|
||||||
width: 'auto',
|
width: 'auto',
|
||||||
height: 'auto',
|
height: 'auto',
|
||||||
|
maxHeight: $(window).height() - 50,
|
||||||
position: { my: "center", at: "center", of: window },
|
position: { my: "center", at: "center", of: window },
|
||||||
close: function() { me._onDlgClose(); }
|
close: function() { me._onDlgClose(); }
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user