Я впервые столкнулся с такой проблемой. У меня куда-то делся scroll у модального окна, т. е. нет прокрутки.
Вот javascript код:
CODE (html):
скопировать код в буфер обмена
скопировать код в буфер обмена
- <script type="text/javascript">
- ModalMaxHeight = document.body.clientHeight;
- function editUser() {
- $(function(){
- $('#edituser').dialog({
- resizable: false,
- draggable: false,
- closeOnEscape: true,
- autoOpen: true,
- show: 'fade',
- hide: 'fade',
- width: 450,
- height: ModalMaxHeight,
- buttons: {
- "Сохранить": function() {
- window.location.href = "#";
- }
- }
- });
- });
- }
- </script>