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);