mirror of https://github.com/kiwix/libkiwix.git
* FIXED: Buggy kiwix-serve suggestion click handling
This commit is contained in:
parent
09a6877012
commit
ae44b87f82
|
@ -21542,45 +21542,48 @@ const unsigned char server_taskbar_html_part[]={
|
|||
0x0a,0x0a,0x20,0x20,0x73,0x65,0x6c,0x65,0x63,0x74,0x3a,0x20,0x66,0x75,0x6e,0x63,
|
||||
0x74,0x69,0x6f,0x6e,0x28,0x65,0x76,0x65,0x6e,0x74,0x2c,0x20,0x75,0x69,0x29,0x20,
|
||||
0x7b,0x0a,0x20,0x20,0x24,0x28,0x20,0x22,0x23,0x6b,0x69,0x77,0x69,0x78,0x73,0x65,
|
||||
0x61,0x72,0x63,0x68,0x66,0x6f,0x72,0x6d,0x22,0x20,0x29,0x2e,0x73,0x75,0x62,0x6d,
|
||||
0x69,0x74,0x28,0x29,0x3b,0x0a,0x20,0x20,0x7d,0x2c,0x0a,0x0a,0x20,0x20,0x7d,0x29,
|
||||
0x3b,0x0a,0x20,0x20,0x7d,0x29,0x3b,0x0a,0x3c,0x2f,0x73,0x63,0x72,0x69,0x70,0x74,
|
||||
0x3e,0x0a,0x0a,0x3c,0x73,0x70,0x61,0x6e,0x20,0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,
|
||||
0x69,0x78,0x74,0x6f,0x6f,0x6c,0x62,0x61,0x72,0x22,0x20,0x63,0x6c,0x61,0x73,0x73,
|
||||
0x3d,0x22,0x75,0x69,0x2d,0x77,0x69,0x64,0x67,0x65,0x74,0x2d,0x68,0x65,0x61,0x64,
|
||||
0x65,0x72,0x20,0x75,0x69,0x2d,0x63,0x6f,0x72,0x6e,0x65,0x72,0x2d,0x61,0x6c,0x6c,
|
||||
0x22,0x3e,0x0a,0x20,0x20,0x3c,0x66,0x6f,0x72,0x6d,0x20,0x61,0x63,0x74,0x69,0x6f,
|
||||
0x6e,0x3d,0x22,0x2f,0x22,0x20,0x6d,0x65,0x74,0x68,0x6f,0x64,0x3d,0x22,0x50,0x4f,
|
||||
0x53,0x54,0x22,0x3e,0x3c,0x69,0x6e,0x70,0x75,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,
|
||||
0x22,0x73,0x75,0x62,0x6d,0x69,0x74,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,
|
||||
0x4c,0x69,0x62,0x72,0x61,0x72,0x79,0x22,0x20,0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,
|
||||
0x69,0x78,0x6c,0x69,0x62,0x72,0x61,0x72,0x79,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x66,
|
||||
0x6f,0x72,0x6d,0x3e,0x0a,0x20,0x20,0x3c,0x66,0x6f,0x72,0x6d,0x20,0x61,0x63,0x74,
|
||||
0x69,0x6f,0x6e,0x3d,0x22,0x2f,0x5f,0x5f,0x43,0x4f,0x4e,0x54,0x45,0x4e,0x54,0x5f,
|
||||
0x5f,0x2f,0x22,0x20,0x6d,0x65,0x74,0x68,0x6f,0x64,0x3d,0x22,0x50,0x4f,0x53,0x54,
|
||||
0x22,0x3e,0x3c,0x69,0x6e,0x70,0x75,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x73,
|
||||
0x75,0x62,0x6d,0x69,0x74,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x48,0x6f,
|
||||
0x6d,0x65,0x22,0x20,0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,0x68,0x6f,0x6d,
|
||||
0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x66,0x6f,0x72,0x6d,0x3e,0x0a,0x20,0x20,0x3c,
|
||||
0x66,0x6f,0x72,0x6d,0x20,0x6d,0x65,0x74,0x68,0x6f,0x64,0x3d,0x22,0x47,0x45,0x54,
|
||||
0x22,0x20,0x61,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x2f,0x73,0x65,0x61,0x72,0x63,
|
||||
0x68,0x22,0x20,0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,0x73,0x65,0x61,0x72,
|
||||
0x63,0x68,0x66,0x6f,0x72,0x6d,0x22,0x3e,0x3c,0x69,0x6e,0x70,0x75,0x74,0x20,0x74,
|
||||
0x79,0x70,0x65,0x3d,0x22,0x68,0x69,0x64,0x64,0x65,0x6e,0x22,0x20,0x6e,0x61,0x6d,
|
||||
0x65,0x3d,0x22,0x63,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x22,0x20,0x76,0x61,0x6c,0x75,
|
||||
0x65,0x3d,0x22,0x5f,0x5f,0x43,0x4f,0x4e,0x54,0x45,0x4e,0x54,0x5f,0x5f,0x22,0x20,
|
||||
0x2f,0x3e,0x3c,0x69,0x6e,0x70,0x75,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x73,
|
||||
0x75,0x62,0x6d,0x69,0x74,0x22,0x20,0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,
|
||||
0x73,0x65,0x61,0x72,0x63,0x68,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x53,
|
||||
0x65,0x61,0x72,0x63,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x69,0x6e,0x70,0x75,0x74,0x20,
|
||||
0x74,0x79,0x70,0x65,0x3d,0x22,0x74,0x65,0x78,0x74,0x22,0x20,0x69,0x64,0x3d,0x22,
|
||||
0x6b,0x69,0x77,0x69,0x78,0x73,0x65,0x61,0x72,0x63,0x68,0x62,0x6f,0x78,0x22,0x20,
|
||||
0x6e,0x61,0x6d,0x65,0x3d,0x22,0x70,0x61,0x74,0x74,0x65,0x72,0x6e,0x22,0x20,0x2f,
|
||||
0x3e,0x3c,0x2f,0x66,0x6f,0x72,0x6d,0x3e,0x0a,0x3c,0x2f,0x73,0x70,0x61,0x6e,0x3e,
|
||||
0x0a,0x3c,0x64,0x69,0x76,0x20,0x73,0x74,0x79,0x6c,0x65,0x3d,0x22,0x64,0x69,0x73,
|
||||
0x70,0x6c,0x61,0x79,0x3a,0x20,0x62,0x6c,0x6f,0x63,0x6b,0x3b,0x20,0x68,0x65,0x69,
|
||||
0x67,0x68,0x74,0x3a,0x20,0x34,0x35,0x70,0x78,0x3b,0x22,0x3e,0x3c,0x2f,0x64,0x69,
|
||||
0x76,0x3e,0x0a
|
||||
0x61,0x72,0x63,0x68,0x66,0x6f,0x72,0x6d,0x22,0x20,0x29,0x2e,0x61,0x74,0x74,0x72,
|
||||
0x28,0x27,0x76,0x61,0x6c,0x75,0x65,0x27,0x2c,0x20,0x75,0x69,0x2e,0x69,0x74,0x65,
|
||||
0x6d,0x2e,0x76,0x61,0x6c,0x75,0x65,0x29,0x3b,0x0a,0x20,0x20,0x24,0x28,0x20,0x22,
|
||||
0x23,0x6b,0x69,0x77,0x69,0x78,0x73,0x65,0x61,0x72,0x63,0x68,0x66,0x6f,0x72,0x6d,
|
||||
0x22,0x20,0x29,0x2e,0x73,0x75,0x62,0x6d,0x69,0x74,0x28,0x29,0x3b,0x0a,0x20,0x20,
|
||||
0x7d,0x2c,0x0a,0x0a,0x20,0x20,0x7d,0x29,0x3b,0x0a,0x20,0x20,0x7d,0x29,0x3b,0x0a,
|
||||
0x3c,0x2f,0x73,0x63,0x72,0x69,0x70,0x74,0x3e,0x0a,0x0a,0x3c,0x73,0x70,0x61,0x6e,
|
||||
0x20,0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,0x74,0x6f,0x6f,0x6c,0x62,0x61,
|
||||
0x72,0x22,0x20,0x63,0x6c,0x61,0x73,0x73,0x3d,0x22,0x75,0x69,0x2d,0x77,0x69,0x64,
|
||||
0x67,0x65,0x74,0x2d,0x68,0x65,0x61,0x64,0x65,0x72,0x20,0x75,0x69,0x2d,0x63,0x6f,
|
||||
0x72,0x6e,0x65,0x72,0x2d,0x61,0x6c,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x3c,0x66,0x6f,
|
||||
0x72,0x6d,0x20,0x61,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x2f,0x22,0x20,0x6d,0x65,
|
||||
0x74,0x68,0x6f,0x64,0x3d,0x22,0x50,0x4f,0x53,0x54,0x22,0x3e,0x3c,0x69,0x6e,0x70,
|
||||
0x75,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x73,0x75,0x62,0x6d,0x69,0x74,0x22,
|
||||
0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x4c,0x69,0x62,0x72,0x61,0x72,0x79,0x22,
|
||||
0x20,0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,0x6c,0x69,0x62,0x72,0x61,0x72,
|
||||
0x79,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x66,0x6f,0x72,0x6d,0x3e,0x0a,0x20,0x20,0x3c,
|
||||
0x66,0x6f,0x72,0x6d,0x20,0x61,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x2f,0x5f,0x5f,
|
||||
0x43,0x4f,0x4e,0x54,0x45,0x4e,0x54,0x5f,0x5f,0x2f,0x22,0x20,0x6d,0x65,0x74,0x68,
|
||||
0x6f,0x64,0x3d,0x22,0x50,0x4f,0x53,0x54,0x22,0x3e,0x3c,0x69,0x6e,0x70,0x75,0x74,
|
||||
0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x73,0x75,0x62,0x6d,0x69,0x74,0x22,0x20,0x76,
|
||||
0x61,0x6c,0x75,0x65,0x3d,0x22,0x48,0x6f,0x6d,0x65,0x22,0x20,0x69,0x64,0x3d,0x22,
|
||||
0x6b,0x69,0x77,0x69,0x78,0x68,0x6f,0x6d,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x66,
|
||||
0x6f,0x72,0x6d,0x3e,0x0a,0x20,0x20,0x3c,0x66,0x6f,0x72,0x6d,0x20,0x6d,0x65,0x74,
|
||||
0x68,0x6f,0x64,0x3d,0x22,0x47,0x45,0x54,0x22,0x20,0x61,0x63,0x74,0x69,0x6f,0x6e,
|
||||
0x3d,0x22,0x2f,0x73,0x65,0x61,0x72,0x63,0x68,0x22,0x20,0x69,0x64,0x3d,0x22,0x6b,
|
||||
0x69,0x77,0x69,0x78,0x73,0x65,0x61,0x72,0x63,0x68,0x66,0x6f,0x72,0x6d,0x22,0x3e,
|
||||
0x3c,0x69,0x6e,0x70,0x75,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x68,0x69,0x64,
|
||||
0x64,0x65,0x6e,0x22,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x63,0x6f,0x6e,0x74,0x65,
|
||||
0x6e,0x74,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x5f,0x5f,0x43,0x4f,0x4e,
|
||||
0x54,0x45,0x4e,0x54,0x5f,0x5f,0x22,0x20,0x2f,0x3e,0x3c,0x69,0x6e,0x70,0x75,0x74,
|
||||
0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x73,0x75,0x62,0x6d,0x69,0x74,0x22,0x20,0x69,
|
||||
0x64,0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,0x73,0x65,0x61,0x72,0x63,0x68,0x22,0x20,
|
||||
0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x53,0x65,0x61,0x72,0x63,0x68,0x22,0x20,0x2f,
|
||||
0x3e,0x3c,0x69,0x6e,0x70,0x75,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x74,0x65,
|
||||
0x78,0x74,0x22,0x20,0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,0x73,0x65,0x61,
|
||||
0x72,0x63,0x68,0x62,0x6f,0x78,0x22,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x70,0x61,
|
||||
0x74,0x74,0x65,0x72,0x6e,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x66,0x6f,0x72,0x6d,0x3e,
|
||||
0x0a,0x3c,0x2f,0x73,0x70,0x61,0x6e,0x3e,0x0a,0x3c,0x64,0x69,0x76,0x20,0x73,0x74,
|
||||
0x79,0x6c,0x65,0x3d,0x22,0x64,0x69,0x73,0x70,0x6c,0x61,0x79,0x3a,0x20,0x62,0x6c,
|
||||
0x6f,0x63,0x6b,0x3b,0x20,0x68,0x65,0x69,0x67,0x68,0x74,0x3a,0x20,0x34,0x35,0x70,
|
||||
0x78,0x3b,0x22,0x3e,0x3c,0x2f,0x64,0x69,0x76,0x3e,0x0a
|
||||
};
|
||||
|
||||
static std::map<std::string, std::pair<const unsigned char*, unsigned int> > createResourceMap() {
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
cache: false,
|
||||
|
||||
select: function(event, ui) {
|
||||
$( "#kiwixsearchform" ).attr('value', ui.item.value);
|
||||
$( "#kiwixsearchform" ).submit();
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue