load jamserver.js
instead of jamserver.js instead of jamserver_copy.js when loading react.js front end. jamserver_copy for some reason desn not load all of the javascripts needed to get for example subscription messages to be captured in the front end.
This commit is contained in:
parent
08008a6dc3
commit
9058c8af1d
|
|
@ -129,7 +129,6 @@ function JKDashboardMain() {
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
const app = window.JK.JamKazam();
|
||||
|
||||
const jamServer = new window.JK.JamServer(app, function (event_type) {
|
||||
|
|
@ -141,6 +140,8 @@ function JKDashboardMain() {
|
|||
const clientInit = new window.JK.ClientInit();
|
||||
clientInit.init();
|
||||
|
||||
app.initialize();
|
||||
|
||||
window.JK.JamServer.connect() // singleton here defined in JamServer.js
|
||||
.done(function () {
|
||||
console.log('Jamserver connected...');
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
//= require utils
|
||||
//= require subscription_utils
|
||||
//= require jamkazam
|
||||
//= require modern/JamServer_copy
|
||||
//= require JamServer
|
||||
|
||||
//= require fakeJamClient
|
||||
//= require fakeJamClientMessages
|
||||
|
|
|
|||
Loading…
Reference in New Issue