aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/Dispatcher.es6.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/Dispatcher.es6.js')
-rw-r--r--web/src/js/Dispatcher.es6.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/src/js/Dispatcher.es6.js b/web/src/js/Dispatcher.es6.js
index 9bf70878..6ac17f9f 100644
--- a/web/src/js/Dispatcher.es6.js
+++ b/web/src/js/Dispatcher.es6.js
@@ -33,4 +33,8 @@ AppDispatcher = new Dispatcher();
AppDispatcher.dispatchViewAction = function(action){
action.actionSource = PayloadSources.VIEW_ACTION;
this.dispatch(action);
+};
+AppDispatcher.dispatchServerAction = function(action){
+ action.actionSource = PayloadSources.SERVER_ACTION;
+ this.dispatch(action);
}; \ No newline at end of file