mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
yWeb/Y_Tools_Screenshot_GraphLCD: change filename
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2f45b396cc
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-02-09 (Thu, 09 Feb 2023)
Origin message was:
------------------
- yWeb/Y_Tools_Screenshot_GraphLCD: change filename
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -528,8 +528,3 @@ function saveTextAsFile(content, filename, filetype)
|
|||||||
}
|
}
|
||||||
downloadLink.click();
|
downloadLink.click();
|
||||||
}
|
}
|
||||||
|
|
||||||
function glcdscreenshot(_filename)
|
|
||||||
{
|
|
||||||
return loadSyncURL("/control/glcdscreenshot?name="+_filename);
|
|
||||||
}
|
|
||||||
|
@@ -12,8 +12,7 @@ function do_snapshot() {
|
|||||||
jQuery('#buttons').hide();
|
jQuery('#buttons').hide();
|
||||||
jQuery('#status').show();
|
jQuery('#status').show();
|
||||||
|
|
||||||
// FIXME: any other filename then "glcdscreenshot" seeems broken
|
var filename = "screenshot-glcd";
|
||||||
var filename = "glcdscreenshot";
|
|
||||||
if (id('filename').value != "") {
|
if (id('filename').value != "") {
|
||||||
filename = id("filename").value;
|
filename = id("filename").value;
|
||||||
}
|
}
|
||||||
@@ -24,7 +23,7 @@ function do_snapshot() {
|
|||||||
}
|
}
|
||||||
function do_showshot(_filename) {
|
function do_showshot(_filename) {
|
||||||
if (_filename == "")
|
if (_filename == "")
|
||||||
_filename = "glcdscreenshot";
|
_filename = "screenshot-glcd";
|
||||||
|
|
||||||
jQuery('#status').hide();
|
jQuery('#status').hide();
|
||||||
jQuery('#buttons').show();
|
jQuery('#buttons').show();
|
||||||
@@ -60,7 +59,7 @@ function do_reload(){
|
|||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<form onsubmit="do_snapshot(); return false">
|
<form onsubmit="do_snapshot(); return false">
|
||||||
{=L:filename=}: <input type="text" value="glcdscreenshot" id="filename" size="12" />
|
{=L:filename=}: <input type="text" value="screenshot-glcd" id="filename" size="12" />
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
|
Reference in New Issue
Block a user