Dateiverwaltung für die WebBox
ulrich@undisclosed
2020-05-04 3260ed100522dc77187a0000dd6172c771ddad7d
compile auf post umgestellt
1 files modified
11 ■■■■ changed files
web/ui/api.js 11 ●●●● patch | view | raw | blame | history
web/ui/api.js
@@ -358,12 +358,19 @@
function fm_compile(modeStr, callback) {
  var liste = fm_gewaehlte_dateien();
  var m = '?c=de.uhilger.filecms.api.CompileService&m=compile&p=' + pfad + '&p=' + encodeURIComponent(liste) +
          '&p=' + modeStr;
  var m = '?c=de.uhilger.filecms.api.CompileService&m=compile';//&p=' + pfad + '&p=' + encodeURIComponent(liste) +
          //'&p=' + modeStr;
  var u = '../svc' + m;
  var data = 'p=' + pfad + '&p=' + encodeURIComponent(liste) +
          '&p=' + modeStr;
  fm_post(u, data, "json", function(resp) {
    callback(resp);
  });
  /*
  fm_get(u, "json", function(resp) {
    callback(resp);
  });
  */
}
/* --------------- Bilder ------------------------- */