From 8e28bb0aaa0060c484fc37594fc1d27415e21ca2 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Mon, 28 Oct 2024 15:26:59 +0000 Subject: [PATCH] codemirror:make hints working again git-svn-id: https://svn.fhem.de/fhem/trunk@29309 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/www/codemirror/fhem.js.unoptimized | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/www/codemirror/fhem.js.unoptimized b/fhem/www/codemirror/fhem.js.unoptimized index fd3123559..3378f3884 100644 --- a/fhem/www/codemirror/fhem.js.unoptimized +++ b/fhem/www/codemirror/fhem.js.unoptimized @@ -900,7 +900,7 @@ var devices = []; CodeMirror.registerHelper("hint", "fhem", function hintfhem(cm, callback, options) { if( devices.length == 0 ) { - $.getJSON( addcsrf('/fhem?cmd=jsonlist2'), function ( data ) { + $.getJSON( addcsrf('/fhem?cmd=jsonlist2&XHR=1'), function ( data ) { if( devices.length == 0 ) { data.Results.foreach( function(k,v) { devices.push(v);