Skip to content

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 committed Jan 20, 2011
1 parent 9106815 commit b6b4bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/js/zamboni/l10n.js
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 b6b4bac

Please sign in to comment.