Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
f1e58c6a
Commit
f1e58c6a
authored
Jan 10, 2017
by
Alexey Golubev
Committed by
Alexander.Trofimov
Jan 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge tag 'staropramen' into develop
staropramen
parent
1002a71d
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
42 additions
and
1 deletion
+42
-1
apps/api/documents/api.js
apps/api/documents/api.js
+5
-1
apps/common/Gateway.js
apps/common/Gateway.js
+1
-0
apps/documenteditor/embed/index.html
apps/documenteditor/embed/index.html
+2
-0
apps/documenteditor/embed/index.html.deploy
apps/documenteditor/embed/index.html.deploy
+2
-0
apps/documenteditor/main/index.html
apps/documenteditor/main/index.html
+2
-0
apps/documenteditor/main/index.html.deploy
apps/documenteditor/main/index.html.deploy
+2
-0
apps/documenteditor/mobile/index.html
apps/documenteditor/mobile/index.html
+2
-0
apps/documenteditor/mobile/index.html.deploy
apps/documenteditor/mobile/index.html.deploy
+2
-0
apps/presentationeditor/embed/index.html
apps/presentationeditor/embed/index.html
+2
-0
apps/presentationeditor/embed/index.html.deploy
apps/presentationeditor/embed/index.html.deploy
+2
-0
apps/presentationeditor/main/index.html
apps/presentationeditor/main/index.html
+2
-0
apps/presentationeditor/main/index.html.deploy
apps/presentationeditor/main/index.html.deploy
+2
-0
apps/presentationeditor/mobile/index.html
apps/presentationeditor/mobile/index.html
+2
-0
apps/presentationeditor/mobile/index.html.deploy
apps/presentationeditor/mobile/index.html.deploy
+2
-0
apps/spreadsheeteditor/embed/index.html
apps/spreadsheeteditor/embed/index.html
+2
-0
apps/spreadsheeteditor/embed/index.html.deploy
apps/spreadsheeteditor/embed/index.html.deploy
+2
-0
apps/spreadsheeteditor/main/index.html
apps/spreadsheeteditor/main/index.html
+2
-0
apps/spreadsheeteditor/main/index.html.deploy
apps/spreadsheeteditor/main/index.html.deploy
+2
-0
apps/spreadsheeteditor/mobile/index.html
apps/spreadsheeteditor/mobile/index.html
+2
-0
apps/spreadsheeteditor/mobile/index.html.deploy
apps/spreadsheeteditor/mobile/index.html.deploy
+2
-0
No files found.
apps/api/documents/api.js
View file @
f1e58c6a
...
...
@@ -180,6 +180,7 @@
_config
.
editorConfig
.
canHistoryRestore
=
_config
.
events
&&
!!
_config
.
events
.
onRequestRestore
;
_config
.
editorConfig
.
canSendEmailAddresses
=
_config
.
events
&&
!!
_config
.
events
.
onRequestEmailAddresses
;
_config
.
editorConfig
.
canRequestEditRights
=
_config
.
events
&&
!!
_config
.
events
.
onRequestEditRights
;
_config
.
frameEditorId
=
placeholderId
;
var
onMouseUp
=
function
(
evt
)
{
_processMouse
(
evt
);
...
...
@@ -257,7 +258,7 @@
};
var
_onMessage
=
function
(
msg
)
{
if
(
msg
)
{
if
(
msg
&&
msg
.
frameEditorId
==
placeholderId
)
{
var
events
=
_config
.
events
||
{},
handler
=
events
[
msg
.
event
],
res
;
...
...
@@ -662,6 +663,9 @@
if
(
config
.
editorConfig
.
customization
.
loaderLogo
!==
''
)
params
+=
"
&logo=
"
+
config
.
editorConfig
.
customization
.
loaderLogo
;
}
}
if
(
config
.
frameEditorId
)
params
+=
"
&frameEditorId=
"
+
config
.
frameEditorId
;
return
params
;
}
...
...
apps/common/Gateway.js
View file @
f1e58c6a
...
...
@@ -99,6 +99,7 @@ Common.Gateway = new(function() {
var
_postMessage
=
function
(
msg
)
{
// TODO: specify explicit origin
if
(
window
.
parent
&&
window
.
JSON
)
{
msg
.
frameEditorId
=
window
.
frameEditorId
;
window
.
parent
.
postMessage
(
window
.
JSON
.
stringify
(
msg
),
"
*
"
);
}
};
...
...
apps/documenteditor/embed/index.html
View file @
f1e58c6a
...
...
@@ -239,6 +239,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/documenteditor/embed/index.html.deploy
View file @
f1e58c6a
...
...
@@ -231,6 +231,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/documenteditor/main/index.html
View file @
f1e58c6a
...
...
@@ -227,6 +227,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/documenteditor/main/index.html.deploy
View file @
f1e58c6a
...
...
@@ -227,6 +227,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/documenteditor/mobile/index.html
View file @
f1e58c6a
...
...
@@ -264,6 +264,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/documenteditor/mobile/index.html.deploy
View file @
f1e58c6a
...
...
@@ -255,6 +255,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/presentationeditor/embed/index.html
View file @
f1e58c6a
...
...
@@ -238,6 +238,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/presentationeditor/embed/index.html.deploy
View file @
f1e58c6a
...
...
@@ -231,6 +231,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/presentationeditor/main/index.html
View file @
f1e58c6a
...
...
@@ -228,6 +228,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/presentationeditor/main/index.html.deploy
View file @
f1e58c6a
...
...
@@ -227,6 +227,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/presentationeditor/mobile/index.html
View file @
f1e58c6a
...
...
@@ -263,6 +263,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/presentationeditor/mobile/index.html.deploy
View file @
f1e58c6a
...
...
@@ -254,6 +254,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/spreadsheeteditor/embed/index.html
View file @
f1e58c6a
...
...
@@ -239,6 +239,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/spreadsheeteditor/embed/index.html.deploy
View file @
f1e58c6a
...
...
@@ -231,6 +231,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/spreadsheeteditor/main/index.html
View file @
f1e58c6a
...
...
@@ -230,6 +230,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/spreadsheeteditor/main/index.html.deploy
View file @
f1e58c6a
...
...
@@ -228,6 +228,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/spreadsheeteditor/mobile/index.html
View file @
f1e58c6a
...
...
@@ -270,6 +270,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
apps/spreadsheeteditor/mobile/index.html.deploy
View file @
f1e58c6a
...
...
@@ -255,6 +255,8 @@
loading
=
'
Loading...
'
,
logo
=
params
[
"
logo
"
]
?
((
params
[
"
logo
"
]
!==
'
none
'
)
?
(
'
<img src="
'
+
encodeUrlParam
(
params
[
"
logo
"
])
+
'
" class="loader-logo" />
'
)
:
''
)
:
null
;
window
.
frameEditorId
=
params
[
"
frameEditorId
"
];
if
(
lang
==
'
de
'
)
loading
=
'
Ladevorgang...
'
;
else
if
(
lang
==
'
es
'
)
loading
=
'
Cargando...
'
;
else
if
(
lang
==
'
fr
'
)
loading
=
'
Chargement en cours...
'
;
...
...
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