Project

General

Profile

Actions

Bug #3984

closed

Custom window._ in i18n.js conflicting with underscore.js

Added by Walden Raines over 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

window._ is defined as a custom i18n function which prevents the use of underscore.js.

See https://github.com/theforeman/foreman/blob/develop/app/assets/javascripts/i18n.js#L8

Steps to Reproduce:
1. Go to a page that uses underscore.js (many katello pages do)
2. Note JS error because of underscore being replaced by above custom i18n function

Actions

Also available in: Atom PDF