Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js |
— | — | @@ -456,6 +456,12 @@ |
457 | 457 | $section.show(); |
458 | 458 | $(this).addClass( 'current' ); |
459 | 459 | } |
| 460 | + |
| 461 | + //click tracking |
| 462 | + if($.trackAction != undefined){ |
| 463 | + $.trackAction($section.attr('rel') + '.' + ( show ? 'show': 'hide' ) ); |
| 464 | + } |
| 465 | + |
460 | 466 | $.cookie( |
461 | 467 | 'wikiEditor-' + $(this).data( 'context' ).instance + '-toolbar-section', |
462 | 468 | show ? $section.attr( 'rel' ) : null |