|
|
|
@ -197,12 +197,15 @@ var documentsMain = {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
showEditor : function(title){
|
|
|
|
|
OC.addScript('documents', '3rdparty/cloudsuite/jquery.min');
|
|
|
|
|
OC.addScript('documents', '3rdparty/cloudsuite/w2ui.min');
|
|
|
|
|
OC.addScript('documents', '3rdparty/cloudsuite/select2.min');
|
|
|
|
|
|
|
|
|
|
// start the loleaflet
|
|
|
|
|
OC.addScript('documents', '3rdparty/cloudsuite/jquery.min').done(function() {
|
|
|
|
|
OC.addScript('documents', '3rdparty/cloudsuite/w2ui.min').done(function() {
|
|
|
|
|
OC.addScript('documents', '3rdparty/cloudsuite/select2.min').done(function() {
|
|
|
|
|
OC.addScript('documents', '3rdparty/cloudsuite/leaflet-src').done(function() {
|
|
|
|
|
OC.addScript('documents', '3rdparty/cloudsuite/leaflet.draw').done(function() {
|
|
|
|
|
OC.addScript('documents', '3rdparty/cloudsuite/jquery.mCustomScrollbar').done(function() {
|
|
|
|
|
OC.addScript('documents', '3rdparty/cloudsuite/vex.combined.min').done(function() {
|
|
|
|
|
//vex.defaultOptions.className = 'vex-theme-plain';
|
|
|
|
|
|
|
|
|
|
var map = L.map('map', {
|
|
|
|
|
server: 'ws://localhost:9980',
|
|
|
|
|
doc: 'file:///local/home/kendy/Downloads/ODT-test.odt',
|
|
|
|
@ -225,12 +228,12 @@ var documentsMain = {
|
|
|
|
|
|
|
|
|
|
documentsMain.overlay.documentOverlay('hide');
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
OC.addScript('documents', '3rdparty/cloudsuite/leaflet.draw');
|
|
|
|
|
OC.addScript('documents', '3rdparty/cloudsuite/jquery.mCustomScrollbar');
|
|
|
|
|
OC.addScript('documents', '3rdparty/cloudsuite/vex.combined.min');
|
|
|
|
|
|
|
|
|
|
//vex.defaultOptions.className = 'vex-theme-plain';
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
if (documentsMain.isGuest){
|
|
|
|
|
// !Login page mess wih WebODF toolbars
|
|
|
|
|