Fix QE for the last category, fixes #8077
git-svn-id: https://develop.svn.wordpress.org/trunk@9588 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
747139d188
commit
f073cfc404
@ -69,7 +69,9 @@ inlineEditTax = {
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user