mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
nodejs: getiing formats object
This commit is contained in:
@ -19,6 +19,15 @@
|
||||
var language;
|
||||
var userid;
|
||||
var directUrl;
|
||||
var Formats;
|
||||
|
||||
window.onload = function () {
|
||||
fetch('formats')
|
||||
.then((response) => response.json())
|
||||
.then((data) => {
|
||||
Formats = data;
|
||||
})
|
||||
}
|
||||
|
||||
if (typeof jQuery != "undefined") {
|
||||
jq = jQuery.noConflict();
|
||||
|
||||
Reference in New Issue
Block a user