Changeset 1629:236bd21d1e72
- Timestamp:
- 08/28/13 15:58:22 (10 years ago)
- Branch:
- Ticket #1614
- Location:
- plugins/widgets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/widgets/style.css
r1526 r1629 63 63 margin-bottom: -1px; 64 64 } 65 .widget-name a.aexpand, .widget-name a.aexpand:link, .widget-name a.aexpand:visited { 66 border: 0 none; 67 color: #000000; 68 text-decoration: none; 69 } 65 70 .removeWidget { 66 71 padding: 8px 6px; -
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.