Mercurial > public > sg101
view static/js/tiny_mce/plugins/paste/pasteword.htm @ 481:9f888dbe61ce
Fixing #230; add a scrollbar to the PM popup dialog if necessary. This wasn't as easy as I thought. Had to wrap the PM text in a div with its styling (max-height and overflow). If I then resized the dialog, I'd get two scrollbars. So for now, made the dialog non-resizable.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 07 Oct 2011 02:11:33 +0000 |
parents | 88b2b9cb8c1f |
children |
line wrap: on
line source
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{#paste.paste_word_desc}</title> <script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script type="text/javascript" src="js/pasteword.js"></script> </head> <body onresize="PasteWordDialog.resize();" style="display:none; overflow:hidden;"> <form name="source" onsubmit="return PasteWordDialog.insert();" action="#"> <div class="title">{#paste.paste_word_desc}</div> <div>{#paste_dlg.word_title}</div> <div id="iframecontainer"></div> <div class="mceActionPanel"> <input type="submit" id="insert" name="insert" value="{#insert}" /> <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> </div> </form> </body> </html>