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/lookup_keys.js
var field = '';
if (assoc == 'lookup_keys') {
$('#smart_vars .smart-var-tabs .active, #smart_vars .smart-var-content .active').removeClass('active');
var pill = "<li class='active'><a data-toggle='pill' href='#new_" + new_id + "' id='pill_new_" + new_id + "'>" + _('new') + "<span class='badge close pull-right'>&times;</span></a></li>"
var pill = "<li class='active'><a data-toggle='pill' href='#new_" + new_id + "' id='pill_new_" + new_id + "'>" + __('new') + "<span class='badge close pull-right'>&times;</span></a></li>"
$('#smart_vars .smart-var-tabs').prepend(pill);
field = $('#smart_vars .smart-var-content').prepend($(content).addClass('active'));
$('#smart_vars .smart-var-tabs li.active a').show('highlight', 500);

Also available in: Unified diff