mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Remove Websockets dependencies
This commit is contained in:
@@ -11,10 +11,9 @@ define([
|
||||
"jquery",
|
||||
"underscore",
|
||||
"backbone",
|
||||
"common/websockets/connection",
|
||||
"apps/admin/main/views/leftPanel",
|
||||
"apps/admin/main/views/rightPanel"
|
||||
], function ($, _, Backbone, WSConnection, LeftPanel, RightPanel) {
|
||||
], function ($, _, Backbone, LeftPanel, RightPanel) {
|
||||
window.AdminApp = {
|
||||
$scope: $("#admin-app"),
|
||||
$leftView : $(".left-view", this.$scope),
|
||||
@@ -68,10 +67,6 @@ define([
|
||||
throw "You must define a websocket url";
|
||||
}
|
||||
|
||||
if (false === WSConnection.isConnected()) {
|
||||
WSConnection.connect(options.wsurl);
|
||||
}
|
||||
|
||||
create();
|
||||
|
||||
AdminApp.LeftView.activeTree();
|
||||
|
Reference in New Issue
Block a user