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. 
if content length not big, 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
Post a Comment