Fix quick editing of last page in Edit Pages, props yoshi, fixes #8044
git-svn-id: http://svn.automattic.com/wordpress/trunk@9495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d19e88f183
commit
829acc86dc
|
@ -160,7 +160,9 @@ inlineEditPost = {
|
|||
if ( pageOpt.length > 0 ) {
|
||||
var pageLevel = pageOpt[0].className.split('-')[1], nextPage = pageOpt, pageLoop = true;
|
||||
while ( pageLoop ) {
|
||||
var nextPage = nextPage.next('option'), nextLevel = nextPage[0].className.split('-')[1];
|
||||
var nextPage = nextPage.next('option');
|
||||
if (nextPage.length == 0) break;
|
||||
var nextLevel = nextPage[0].className.split('-')[1];
|
||||
if ( nextLevel <= pageLevel ) {
|
||||
pageLoop = false;
|
||||
} else {
|
||||
|
|
|
@ -2545,17 +2545,17 @@ fieldset {
|
|||
.inline-editor .modified input {
|
||||
padding: 2px 1px;
|
||||
margin: 1px;
|
||||
width: 18px;
|
||||
width: 2em;
|
||||
}
|
||||
|
||||
.inline-editor .date input[name="aa"],
|
||||
.inline-editor .modified input[name="aa"] {
|
||||
width: 30px;
|
||||
width: 3.5em;
|
||||
}
|
||||
|
||||
#wpbody-content .inline-editor .date select,
|
||||
#wpbody-content .inline-editor .modified select {
|
||||
width: 80px;
|
||||
width: 6em;
|
||||
}
|
||||
|
||||
.inline-editor .categories,
|
||||
|
|
Loading…
Reference in New Issue