Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
Bug 625880, if l10n UI has to clone the default locale for some reaso…
Browse files Browse the repository at this point in the history
…n, do not mark it as cloned.
  • Loading branch information
potch authored and Jeff Balogh committed Jan 20, 2011
1 parent 50aea38 commit 97b6f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/js/zamboni/l10n.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,12 @@ $(document).ready(function () {
if ($el.children(".trans-init").length) {
var $ni = $el.children(".trans-init").clone();
$ni.attr({
'class': "cloned",
lang: lang,
id: format('id_{0}_{1}', field, lang),
name: [field,lang].join('_'),
value: $el.find(format("[lang={0}]",[dl])).val()
});
if (lang != dl) $ni.addClass("cloned");
} else {
var $ni = $el.find(format("[lang={0}]",dl)).clone();
$ni.attr({
Expand Down

0 comments on commit 97b6f9f

Please sign in to comment.