Fix quick editing of last page in Edit Pages, props yoshi, fixes #8044
git-svn-id: https://develop.svn.wordpress.org/trunk@9495 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0bd6d820f0
commit
eaa36ee402
@ -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
Block a user