Ticket #5617: 5617.patch

File 5617.patch, 652 bytes (added by Garry Yao, 14 years ago)
  • _source/core/htmlparser/filter.js

     
    241241                                if ( ret === false )
    242242                                        return false;
    243243
    244                                 if ( isObject && ret != currentEntry )
    245                                         return ret;
    246                         }
    247                 }
     244                                if ( ret != currentEntry )
     245                                {
     246                                        if ( isObject || i == this.length -1 )
     247                                                return ret;
     248                                        // Allow subsequent ones to further
     249                                        // checking the filtered result. (#5617)
     250                                        else
     251                                                currentEntry = ret;
     252                                }
     253                        }
     254                }
    248255
    249256                return null;
    250257        }
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy