From 82dd509aaa75f9c593f5065556558fee500d9466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Kutn=C3=BD?= Date: Wed, 8 Mar 2017 16:26:20 +0100 Subject: [PATCH] async.nette.ajax.js: Pass UI and Event some nette.ajax extensions does not check for UI/Event presence and breaks --- src/assets/async.nette.ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/async.nette.ajax.js b/src/assets/async.nette.ajax.js index 178bc93..06cb7dd 100644 --- a/src/assets/async.nette.ajax.js +++ b/src/assets/async.nette.ajax.js @@ -17,7 +17,7 @@ $.nette.ajax({ url: $this.data('asyncLink') || $this.attr('href'), off: ['history', 'unique'] - }); + }, $this, new CustomEvent('asyncLoad')); }); } });