From 1aae9dee5ecd797c3c2d2a6e985f605d783620ee Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Thu, 1 Dec 2016 18:05:10 +0500 Subject: Improve firing event --- web/app/controller/Root.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app') diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js index 379a0d8..1e83a45 100644 --- a/web/app/controller/Root.js +++ b/web/app/controller/Root.js @@ -96,7 +96,7 @@ Ext.define('Traccar.controller.Root', { } eventId = Ext.Object.fromQueryString(window.location.search).eventId; if (eventId) { - this.application.fireEvent('showSingleEvent', eventId); + this.fireEvent('showsingleevent', eventId); //this.removeUrlParameter('eventId'); } }, -- cgit v1.2.3