From 7f8de6fe2f6d2578cc19b31806ca5e7466f4604f Mon Sep 17 00:00:00 2001 From: Adam Shaw Date: Sat, 31 Aug 2013 21:26:00 -0700 Subject: [PATCH] put view arg in loading callback (issue 1018) --- src/EventManager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EventManager.js b/src/EventManager.js index a171a39..59558d3 100644 --- a/src/EventManager.js +++ b/src/EventManager.js @@ -333,14 +333,14 @@ function EventManager(options, _sources) { function pushLoading() { if (!loadingLevel++) { - trigger('loading', null, true); + trigger('loading', null, true, getView()); } } function popLoading() { if (!--loadingLevel) { - trigger('loading', null, false); + trigger('loading', null, false, getView()); } }