From 2d552f37b84eea70cdbdface68c0d25099ce28de Mon Sep 17 00:00:00 2001 From: Ryan Wyllie Date: Thu, 29 Sep 2016 05:28:09 +0000 Subject: [PATCH] MDL-56292 core: auto_rows should fire event on element --- lib/amd/src/auto_rows.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/amd/src/auto_rows.js b/lib/amd/src/auto_rows.js index 634fb34e829..1532ad2d791 100644 --- a/lib/amd/src/auto_rows.js +++ b/lib/amd/src/auto_rows.js @@ -80,7 +80,7 @@ define(['jquery'], function($) { if (rows != currentRows) { element.attr('rows', rows); - $(document).trigger(EVENTS.ROW_CHANGE); + $(root).trigger(EVENTS.ROW_CHANGE); } }); };