- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/widgets/widgets.js
r665 r1629 132 132 // Append config control 133 133 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); 134 137 img_ctrl = title.firstChild; 135 138 … … 149 152 img.control = title.nextSibling; 150 153 img.onclick = function() { widgetConfig.call(this); }; 154 link.click(function(e) { 155 e.preventDefault(); 156 widgetConfig.call($(this).prevAll('img').get(0)); 157 }); 151 158 space = document.createTextNode(' '); 152 159 title.insertBefore(img,img_ctrl);
Note: See TracChangeset
for help on using the changeset viewer.