From 89fc438e324c359df8b387a39c9e8beab1df54d0 Mon Sep 17 00:00:00 2001 From: Clemens Date: Thu, 2 Jun 2016 15:12:42 +0200 Subject: change some pr issuses --- web/src/js/store/store.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'web/src/js/store') diff --git a/web/src/js/store/store.js b/web/src/js/store/store.js index 4c4478d9..a16a0369 100644 --- a/web/src/js/store/store.js +++ b/web/src/js/store/store.js @@ -2,7 +2,7 @@ import _ from "lodash"; import $ from "jquery"; import {EventEmitter} from 'events'; - +import { EventLogActions } from "../actions.js" import {ActionTypes, StoreCmds} from "../actions.js"; import {AppDispatcher} from "../dispatcher.js"; @@ -118,8 +118,7 @@ _.extend(LiveStoreMixin.prototype, { this.handle_fetch(message.data); }.bind(this)) .fail(function () { - //EventLogActions.add_event("Could not fetch " + this.type); - console.log("Could not fetch " + this.type); // store.js:121 Uncaught ReferenceError: EventLogActions is not defined + EventLogActions.add_event("Could not fetch " + this.type); }.bind(this)); } }, -- cgit v1.2.3