Dotclear


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/widgets/widgets.js

    r665 r1629  
    132132               // Append config control 
    133133               title = $('p.widget-name',items[i]).get(0); 
     134               order = $(title).find('input[name*=order]'); 
     135               link = $('<a href="#" alt="expand" class="aexpand"/>').append($(title).text()); 
     136               $(title).empty().append(order).append(link); 
    134137               img_ctrl = title.firstChild; 
    135138                
     
    149152               img.control = title.nextSibling; 
    150153               img.onclick = function() { widgetConfig.call(this); }; 
     154               link.click(function(e) { 
     155                    e.preventDefault(); 
     156                    widgetConfig.call($(this).prevAll('img').get(0)); 
     157               }); 
    151158               space = document.createTextNode(' '); 
    152159               title.insertBefore(img,img_ctrl); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map