django cms popup window height is too big -


i'm using djnagocms 3 , have annoying problem editing popup windows. happens when page content bigger (higher) browser window. when try edit text or cms plugins (double click on content) shows popup window, it's height greather height of monitor resolution. gray ractangle popup window, it's content outside of browser window

if content length not big, ok. for small page popup window ok

problem somewhere in js/css of django cms.

i had same problem , found solution. problem line:
https://github.com/divio/django-cms/blob/master/cms/static/cms/js/modules/cms.modal.js#l137
returns content-height, not window height, because of this:
jquery $(window).height() returning document height

so need fix declare doctype in template.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -