Add a class to the quick report button.

This commit is contained in:
Nicolas Stepien 2011-05-11 11:56:20 +02:00
parent 9bffe59a43
commit 65a6df1f0a
2 changed files with 2 additions and 0 deletions

View File

@ -1798,6 +1798,7 @@
var a, span;
span = $('span[id^=no]', root);
a = $.el('a', {
className: 'quickreport',
innerHTML: '[ ! ]'
});
$.bind(a, 'click', quickReport.cb.report);

View File

@ -1426,6 +1426,7 @@ quickReport =
node: (root) ->
span = $ 'span[id^=no]', root
a = $.el 'a',
className: 'quickreport'
innerHTML: '[ ! ]'
$.bind a, 'click', quickReport.cb.report
$.after span, a