put view arg in loading callback (issue 1018)

This commit is contained in:
Adam Shaw
2013-08-31 21:26:00 -07:00
parent b7f96ba79a
commit 7f8de6fe2f
+2 -2
View File
@@ -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());
}
}