diff --git a/data/y-web/Y_Baselib.js b/data/y-web/Y_Baselib.js index e974904a8..4adddb64e 100644 --- a/data/y-web/Y_Baselib.js +++ b/data/y-web/Y_Baselib.js @@ -528,8 +528,3 @@ function saveTextAsFile(content, filename, filetype) } downloadLink.click(); } - -function glcdscreenshot(_filename) -{ - return loadSyncURL("/control/glcdscreenshot?name="+_filename); -} diff --git a/data/y-web/Y_Tools_Screenshot_GraphLCD.yhtm b/data/y-web/Y_Tools_Screenshot_GraphLCD.yhtm index b29317b8d..b41bb34bf 100644 --- a/data/y-web/Y_Tools_Screenshot_GraphLCD.yhtm +++ b/data/y-web/Y_Tools_Screenshot_GraphLCD.yhtm @@ -12,8 +12,7 @@ function do_snapshot() { jQuery('#buttons').hide(); jQuery('#status').show(); - // FIXME: any other filename then "glcdscreenshot" seeems broken - var filename = "glcdscreenshot"; + var filename = "screenshot-glcd"; if (id('filename').value != "") { filename = id("filename").value; } @@ -24,7 +23,7 @@ function do_snapshot() { } function do_showshot(_filename) { if (_filename == "") - _filename = "glcdscreenshot"; + _filename = "screenshot-glcd"; jQuery('#status').hide(); jQuery('#buttons').show(); @@ -60,7 +59,7 @@ function do_reload(){
- {=L:filename=}: + {=L:filename=}: