Skip to content

Commit

Permalink
Don't patch template row for inlines (ref #475)
Browse files Browse the repository at this point in the history
  • Loading branch information
last-partizan committed Jul 19, 2019
1 parent 2e30ab6 commit e69eb7b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@ var google, django, gettext;
var tabs = [];

$.each(groupedTranslations, function (groupId, lang) {
if (groupId.includes("__prefix__"))
return;
var tabsContainer = $('<td></td>'),
tabsList = $('<ul></ul>'),
insertionPoint;
Expand All @@ -326,6 +328,7 @@ var google, django, gettext;
$.each($container[0].attributes, function(idx, attr) {
attrs[attr.nodeName] = attr.nodeValue;
});

$container.replaceWith(function () {
return $('<div />', attrs).append($(this).contents());
});
Expand Down

0 comments on commit e69eb7b

Please sign in to comment.