Changeset 1383


Ignore:
Timestamp:
02/07/18 11:09:44 (16 months ago)
Author:
gogo
Message:

#1612 - Incorrectly created new list elements in Gecko

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/Gecko/paraHandlerBest.js

    r1340 r1383  
    750750    // neither we nor our parent are a list item. this is not a normal 
    751751    // li case. 
    752      
    753     return false; 
     752    var listNode = editor._getFirstAncestorForNodeAndWhy(node, ["li"])[0]; 
     753    if ( typeof listNode == 'undefined' ) 
     754    { 
     755      return false; 
     756    } 
    754757  } 
    755758   
Note: See TracChangeset for help on using the changeset viewer.