mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 21:28:02 +01:00
PressThis fixes for window resizing and Chrome bugs from Noel, see #7949
git-svn-id: https://develop.svn.wordpress.org/trunk@9838 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f0703fd669
commit
b0fb781848
@ -445,10 +445,6 @@ margin-top: 3px;
|
||||
-khtml-border-radius: 11px;
|
||||
-webkit-border-radius: 11px;
|
||||
border-radius: 11px;
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box;
|
||||
-khtml-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
.button-primary {
|
||||
background:#21759B url(../images/button-grad.png) repeat-x scroll left top;
|
||||
|
@ -412,10 +412,10 @@ die;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
jQuery(document).ready(function() {
|
||||
//resize screen
|
||||
top.resizeTo(720-screen.width+screen.availWidth,660-screen.height+screen.availHeight);
|
||||
window.resizeTo(720,570);
|
||||
|
||||
jQuery('#photo_button').click(function() { show('photo'); return false; });
|
||||
jQuery('#video_button').click(function() { show('video'); return false; });
|
||||
jQuery('#visual_mode_button').click(function() {
|
||||
@ -448,7 +448,7 @@ die;
|
||||
|
||||
<?php wp_nonce_field('press-this') ?>
|
||||
<input type="hidden" name="post_type" id="post_type" value="text"/>
|
||||
|
||||
<input type="hidden" name="autosave" id="autosave" />
|
||||
<!-- This div holds the photo metadata -->
|
||||
<div class="photolist"></div>
|
||||
|
||||
@ -543,7 +543,7 @@ die;
|
||||
<div class="editor-container">
|
||||
<textarea name="content" id="content" style="width:100%;" class="mceEditor" rows="15">
|
||||
<?php if ($selection) echo wp_richedit_pre(htmlspecialchars_decode($selection)); ?>
|
||||
<?php if ($url) { echo '<p>'; if($selection) _e('via '); echo "<a href='$url'>$title</a>"; echo '</p>'; } ?>
|
||||
<?php if ($url) { echo '<p>'; if($selection) _e('via '); echo "<a href='$url'>$title</a>."; echo '</p>'; } ?>
|
||||
</textarea>
|
||||
</div>
|
||||
|
||||
|
@ -1379,7 +1379,7 @@ function get_shortcut_link() {
|
||||
e=encodeURIComponent,
|
||||
g=f+'?u='+e(l.href)+'&t='+e(d.title)+'&s='+e(s)+'&v=2';
|
||||
function a(){
|
||||
if(!w.open(g,'t','toolbar=0,resizable=0,scrollbars=1,status=1,width=700,height=500')){
|
||||
if(!w.open(g,'t','toolbar=0,resizable=0,scrollbars=1,status=1,width=720,height=570')){
|
||||
l.href=g;
|
||||
}
|
||||
}";
|
||||
|
Loading…
x
Reference in New Issue
Block a user