Changeset 7612 in spip-zone


Ignore:
Timestamp:
Nov 27, 2006, 10:46:20 PM (12 years ago)
Author:
fil@…
Message:

un seul ancetre suffit a notre bonheur

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/widgets/widgets.js

    r7602 r7612  
    207207          e.stopPropagation();
    208208          $(this)
    209           .ancestors("form")
     209          .ancestor("form")
    210210          .submit();
    211211        })
     
    246246    .find('.widget-crayon') // le crayon a clicker lui-meme
    247247      .click(function(e){
    248         $(this).ancestors('.widget').eq(0).openwidget(e);
     248        $(this).ancestor('.widget').openwidget(e);
    249249      });
    250250    });
Note: See TracChangeset for help on using the changeset viewer.