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:
parent
665ca0d3b9
commit
8e28bb0aaa
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user