mirror of https://github.com/arendst/Tasmota.git
Fix GUI template config javascript regression
This commit is contained in:
parent
3887b37429
commit
af546d46d5
|
@ -2,19 +2,18 @@
|
||||||
// compressed by tools/unishox/compress-html-uncompressed.py
|
// compressed by tools/unishox/compress-html-uncompressed.py
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
const size_t HTTP_SCRIPT_TEMPLATE_SIZE = 297;
|
const size_t HTTP_SCRIPT_TEMPLATE_SIZE = 288;
|
||||||
const char HTTP_SCRIPT_TEMPLATE_COMPRESSED[] PROGMEM = "\x30\x2F\x83\xAD\xCE\x41\x08\x77\x45\x9D\x46\x0E\xF1\xED\x33\xBF\xA3\x61\xF3\x98"
|
const char HTTP_SCRIPT_TEMPLATE_COMPRESSED[] PROGMEM = "\x30\x2F\x83\xAD\xCE\x41\x08\x77\x45\x9D\x46\x0E\xF1\xED\x33\xBF\xA3\x61\xF3\x98"
|
||||||
"\xFA\x23\x61\x0D\x20\x88\x55\x50\xC2\xFB\x35\x0B\x7E\xA3\xBA\x77\x8F\x06\xC3\xA6"
|
"\xFA\x23\x61\x0D\x20\x88\x55\x50\xC2\xFB\x35\x0B\x7E\xA3\xBA\x77\x8F\x06\xC3\xA6"
|
||||||
"\x77\xDD\x88\x65\xEA\xBA\x61\x8A\xBE\x1E\x67\xC3\xBA\x77\x8F\x87\xE1\xED\xD3\x07"
|
"\x77\xDD\x88\x65\xEA\xBA\x61\x8A\xBE\x1E\x67\xC3\xBA\x77\x8F\x87\xE1\xED\xD3\x07"
|
||||||
"\x76\x85\x6F\x8E\x9F\x76\x21\x91\x7A\xAE\x99\xF0\xF8\x73\x0F\xD1\xFA\x2A\x2B\x15"
|
"\x74\xD8\x74\xFB\xB1\x0C\x8B\xD5\x74\xCF\x87\xC3\x98\x7E\x8F\xD1\x1B\x0E\x9E\xAB"
|
||||||
"\xBE\x3A\x7A\xAE\x85\xF8\xF8\x7C\x39\x4D\x9D\xE3\xDA\x40\x83\x82\x1D\xE3\xC1\xEE"
|
"\xA1\x7E\x3E\x1F\x0E\x53\x67\x78\xF6\x91\x83\xBA\x6C\x3B\xC7\x83\xDC\x7B\x8F\x06"
|
||||||
"\x3D\xC7\x83\x61\xD3\x06\x3E\x3B\xA7\xD9\x0F\x13\x2A\x2B\x3E\xCE\xA1\x67\x55\x7C"
|
"\xC3\xA6\x0C\x7C\x77\x4F\xB2\x1E\x26\x54\x7D\x9D\x42\xCE\xAA\xF8\xB6\x77\x8F\x06"
|
||||||
"\x5B\x3B\xC7\x83\x61\xD3\xCF\x84\x3B\xA7\x78\xF0\x7B\x8C\xEF\xE8\x33\xC0\x22\x6F"
|
"\xC3\xA7\x9F\x08\x77\x4E\xF1\xE0\xF7\x19\xDF\xD0\x67\x80\x44\xDC\x8D\x87\x21\xDD"
|
||||||
"\x66\xC3\x90\xEE\x90\xE0\x41\xDE\x74\xEA\x35\x9D\x43\xC7\x51\xA1\xD5\x87\x8C\x3E"
|
"\x21\xC0\x83\xB8\x69\xD4\x6B\x3A\x87\x8E\xA3\x43\xAB\x0F\x18\x7C\x1C\x74\xFB\xF0"
|
||||||
"\x0E\x3A\x7D\xF8\x66\x77\x99\x53\x36\x51\xD3\xC3\x02\xDA\x3B\xA7\x61\xEE\x39\x0E"
|
"\xCC\xEF\x32\xA6\x6C\xA3\xA7\x86\x05\xB4\x77\x4E\xC3\xDC\x72\x1D\x87\x78\xF0\x46"
|
||||||
"\xC3\xBC\x78\x23\x43\xE6\x1D\x3C\x2B\x4C\x51\xDD\x3B\xC7\x8D\x30\x77\x58\xE3\xBA"
|
"\x87\xCC\x3A\x78\x56\x98\xA3\xBA\x77\x8F\x1A\x60\xEE\xB1\xC7\x74\xFB\xF1\xC8\x7D"
|
||||||
"\x7D\xF8\xE4\x3E\xCE\xF1\xD0\x8C\xEC\x21\x6C\xF8\x7C\x3E\xCF\xB3\xBC\x7B\x41\x2A"
|
"\x9D\xE3\xA1\x19\xD8\x42\xD9\xF0\xF8\x7D\x9F\x67\x78\xF6\x82\x55\x03\x43\xC1\xEE"
|
||||||
"\x2B\x81\xA1\xE0\xF7\x0F\x02\x2E\x22\x08\x59\x49\xF6\x75\x1F\x67\x78\xF1\x9E\x3E"
|
"\x1E\x04\x5C\x44\x10\xB2\x93\xEC\xEA\x3E\xCE\xF1\xE3\x3C\x7C\x3D\x86";
|
||||||
"\x1E\xC3";
|
|
||||||
|
|
||||||
#define HTTP_SCRIPT_TEMPLATE Decompress(HTTP_SCRIPT_TEMPLATE_COMPRESSED,HTTP_SCRIPT_TEMPLATE_SIZE).c_str()
|
#define HTTP_SCRIPT_TEMPLATE Decompress(HTTP_SCRIPT_TEMPLATE_COMPRESSED,HTTP_SCRIPT_TEMPLATE_SIZE).c_str()
|
|
@ -2,8 +2,8 @@ const char HTTP_SCRIPT_TEMPLATE[] PROGMEM =
|
||||||
"function ld(u,f){"
|
"function ld(u,f){"
|
||||||
"var x=new XMLHttpRequest();"
|
"var x=new XMLHttpRequest();"
|
||||||
"x.onreadystatechange=()=>{"
|
"x.onreadystatechange=()=>{"
|
||||||
"if(this.readyState==4&&this.status==200){"
|
"if(x.readyState==4&&x.status==200){"
|
||||||
"f(this);"
|
"f(x);"
|
||||||
"}"
|
"}"
|
||||||
"};"
|
"};"
|
||||||
"x.open('GET',u,true);"
|
"x.open('GET',u,true);"
|
||||||
|
|
Loading…
Reference in New Issue