From: <ny...@us...> - 2009-10-07 14:24:22
|
Revision: 22086 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=22086&view=rev Author: nyloth Date: 2009-10-07 14:24:06 +0000 (Wed, 07 Oct 2009) Log Message: ----------- [partial bp/r21577][FIX] wiki fullscreen edit: fix the height of the textarea to avoid multiple scrollbars (textarea scrollbar + browser window scrollbar) - not done exactly the same way as in trunk, which uses jquery. Modified Paths: -------------- branches/proposed/templates/wiki_edit.tpl Modified: branches/proposed/templates/wiki_edit.tpl =================================================================== --- branches/proposed/templates/wiki_edit.tpl 2009-10-07 14:15:27 UTC (rev 22085) +++ branches/proposed/templates/wiki_edit.tpl 2009-10-07 14:24:06 UTC (rev 22086) @@ -49,13 +49,13 @@ </div> {if $zoom_mode eq 'y'} -<div style="width:99%; text-align:right;"> +<div style="width:99%; text-align:right;" id="textarea-actions"> {include file='wiki_edit_actions.tpl'} </div> <script type='text/javascript'> <!--//--><![CDATA[//><!-- -document.getElementById('{$textarea_id|default:editwiki}').style.height = ( getWindowHeight() - document.getElementById('textarea-toolbar').offsetHeight - 10 ) + 'px'; +document.getElementById('{$textarea_id|default:editwiki}').style.height = ( getWindowHeight() - document.getElementById('textarea-toolbar').offsetHeight - document.getElementById('textarea-actions').offsetHeight - 10 ) + 'px'; document.getElementById('tiki-center').style.padding = '0px'; document.body.style.backgroundColor = '#c1c1c1'; //--><!]]> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |