From 5488d6d62dc5072bff3c5fbe09a3eb161b29df6b Mon Sep 17 00:00:00 2001 From: ulrich <undisclosed> Date: Tue, 12 Mar 2019 06:55:50 +0000 Subject: [PATCH] Stile fuer TinyMCE um Angabe fuer Tabellen ergaenzt --- web/ui/api.js | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/web/ui/api.js b/web/ui/api.js index a875ef8..b9e0a46 100644 --- a/web/ui/api.js +++ b/web/ui/api.js @@ -149,6 +149,16 @@ }); } +function fm_pack_folder() { + //var liste = fm_gewaehlte_dateien(); + var m = '?c=de.uhilger.filecms.api.FileMgr&m=packFolder&p=' + pfad; + var u = '../svc' + m; + fm_get(u, "text", function(resp) { + // console.log('deleteFiles gab folgendes zurueck: ' + resp); + fm_get_list(pfad); + }); +} + function fm_rename_file(fn, p, neuerName) { var m = '?c=de.uhilger.filecms.api.FileMgr&m=renameFile'; m = m + '&p=' + p; @@ -370,6 +380,18 @@ }); } +function fm_menu_rotate() { + var gewaehlte = $('.datei-gewaehlt'); + var fname = $(gewaehlte[0]).text(); + var m = '?c=de.uhilger.filecms.api.FileMgr&m=bildRotieren'; + m = m + '&p=' + pfad; + m = m + '&p=' + fname; + var u = '../svc' + m; + fm_get(u, "text", function(resp) { + fm_get_list(pfad); + }); +} + /* -------- upload ----------- */ function sendFile(datei) { -- Gitblit v1.9.3