Project

General

Profile

« Previous | Next » 

Revision ad01d4d2

Added by Walden Raines over 10 years ago

fixes #3984 - use __ instead of _ for i18n to avoid conflict with underscore.js

View differences:

app/assets/javascripts/reports.js
var source = $('td:contains("---")');
source.contents().wrap("<div class='origin'></div>");
source.prepend("<a href='#' onclick='show_diff(this)' >" + _('View Diff') + "</a>");
source.prepend("<a href='#' onclick='show_diff(this)' >" + __('View Diff') + "</a>");
$('.origin').hide();
});

Also available in: Unified diff