Mac users deserve their own backwards popup layout. Props to that Andy guy. fixes #2645

git-svn-id: http://svn.automattic.com/wordpress/trunk@3698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-04-06 09:56:56 +00:00
parent ecb3101f4e
commit 0e8625e05c
1 changed files with 1 additions and 0 deletions

View File

@ -283,6 +283,7 @@ TinyMCE_Windows.prototype.open = function(url, name, features) {
html += '<title>Wrapper iframe</title>';
html += '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">';
html += '<link href="' + this.getParam("css_file") + '" rel="stylesheet" type="text/css" />';
if ( this.isMac ) html += '<style type="text/css">.mceWindowTitle{float:none;margin:0;text-align:center;}.mceWindowClose{float:none;position:absolute;left:0px;top:0px;}</style>';
html += '</head>';
html += '<body onload="parent.mcWindows.onLoad(\'' + name + '\');">';