Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
erp5
Commits
cef0b3d6
Commit
cef0b3d6
authored
Jan 29, 2018
by
Boris Kocherov
Committed by
Romain Courteaud
Feb 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_only_office] disable plugins
parent
51cb70b2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
bt5/erp5_only_office/SkinTemplateItem/portal_skins/erp5_only_office/onlyoffice/web-apps/apps/documenteditor/main/app/controller/Main.js.js
...b-apps/apps/documenteditor/main/app/controller/Main.js.js
+1
-1
bt5/erp5_only_office/SkinTemplateItem/portal_skins/erp5_only_office/onlyoffice/web-apps/apps/presentationeditor/main/app/controller/Main.js.js
...ps/apps/presentationeditor/main/app/controller/Main.js.js
+1
-1
bt5/erp5_only_office/SkinTemplateItem/portal_skins/erp5_only_office/onlyoffice/web-apps/apps/spreadsheeteditor/main/app/controller/Main.js.js
...pps/apps/spreadsheeteditor/main/app/controller/Main.js.js
+1
-1
No files found.
bt5/erp5_only_office/SkinTemplateItem/portal_skins/erp5_only_office/onlyoffice/web-apps/apps/documenteditor/main/app/controller/Main.js.js
View file @
cef0b3d6
...
@@ -862,7 +862,7 @@ define([
...
@@ -862,7 +862,7 @@ define([
if
(
me
.
plugins
&&
me
.
plugins
.
pluginsData
&&
me
.
plugins
.
pluginsData
.
length
>
0
)
if
(
me
.
plugins
&&
me
.
plugins
.
pluginsData
&&
me
.
plugins
.
pluginsData
.
length
>
0
)
me
.
updatePlugins
(
me
.
plugins
,
false
);
me
.
updatePlugins
(
me
.
plugins
,
false
);
else
else
me
.
requestPlugins
(
'
../../../../plugins.json
'
);
me
.
requestPlugins
();
me
.
api
.
asc_registerCallback
(
'
asc_onPluginsInit
'
,
_
.
bind
(
me
.
updatePluginsList
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onPluginsInit
'
,
_
.
bind
(
me
.
updatePluginsList
,
me
));
documentHolderController
.
setApi
(
me
.
api
);
documentHolderController
.
setApi
(
me
.
api
);
...
...
bt5/erp5_only_office/SkinTemplateItem/portal_skins/erp5_only_office/onlyoffice/web-apps/apps/presentationeditor/main/app/controller/Main.js.js
View file @
cef0b3d6
...
@@ -640,7 +640,7 @@ define([
...
@@ -640,7 +640,7 @@ define([
if
(
me
.
plugins
&&
me
.
plugins
.
pluginsData
&&
me
.
plugins
.
pluginsData
.
length
>
0
)
if
(
me
.
plugins
&&
me
.
plugins
.
pluginsData
&&
me
.
plugins
.
pluginsData
.
length
>
0
)
me
.
updatePlugins
(
me
.
plugins
,
false
);
me
.
updatePlugins
(
me
.
plugins
,
false
);
else
else
me
.
requestPlugins
(
'
../../../../plugins.json
'
);
me
.
requestPlugins
();
me
.
api
.
asc_registerCallback
(
'
asc_onPluginsInit
'
,
_
.
bind
(
me
.
updatePluginsList
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onPluginsInit
'
,
_
.
bind
(
me
.
updatePluginsList
,
me
));
documentHolderController
.
setApi
(
me
.
api
);
documentHolderController
.
setApi
(
me
.
api
);
...
...
bt5/erp5_only_office/SkinTemplateItem/portal_skins/erp5_only_office/onlyoffice/web-apps/apps/spreadsheeteditor/main/app/controller/Main.js.js
View file @
cef0b3d6
...
@@ -621,7 +621,7 @@ define([
...
@@ -621,7 +621,7 @@ define([
if
(
me
.
plugins
&&
me
.
plugins
.
pluginsData
&&
me
.
plugins
.
pluginsData
.
length
>
0
)
if
(
me
.
plugins
&&
me
.
plugins
.
pluginsData
&&
me
.
plugins
.
pluginsData
.
length
>
0
)
me
.
updatePlugins
(
me
.
plugins
,
false
);
me
.
updatePlugins
(
me
.
plugins
,
false
);
else
else
me
.
requestPlugins
(
'
../../../../plugins.json
'
);
me
.
requestPlugins
();
me
.
api
.
asc_registerCallback
(
'
asc_onPluginsInit
'
,
_
.
bind
(
me
.
updatePluginsList
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onPluginsInit
'
,
_
.
bind
(
me
.
updatePluginsList
,
me
));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment