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 #1

Updated by Walden Raines over 10 years ago

  • Status changed from New to Ready For Testing
Actions #2

Updated by Dominic Cleal over 10 years ago

  • translation missing: en.field_release set to 2
Actions #3

Updated by Walden Raines over 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF