2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

codemirror:make hints working again

git-svn-id: https://svn.fhem.de/fhem/trunk@29309 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2024-10-28 15:26:59 +00:00
parent 665ca0d3b9
commit 8e28bb0aaa

View File

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