Skip to content

Commit

Permalink
Get direct parent of the table...
Browse files Browse the repository at this point in the history
... so that we can put the table back in the same place it came from
when the fabrikmodalrepeat is closed.
  • Loading branch information
Sophist-UK committed Feb 8, 2018
1 parent 8b3d9a3 commit e5a8812
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var FabrikModalRepeat = new Class({
this.field[id] = target.getNext('input');
if (!c) {
// Joomla 3
c = target.getParent('div.control-group');
c = document.id(this.elid);
}
this.origContainer = c;
tbl = c.getElement('table');
Expand Down

0 comments on commit e5a8812

Please sign in to comment.