From ae6d08dc7edcdc1b2e7b90faf72cc4050a1cf2b6 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Sat, 22 Aug 2020 10:22:29 +0000 Subject: [PATCH] f18.js: fix global + window if CodeMirror is active (Forum #113095) git-svn-id: https://svn.fhem.de/fhem/trunk@22644 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/www/pgm2/f18.js | 1 + 1 file changed, 1 insertion(+) diff --git a/fhem/www/pgm2/f18.js b/fhem/www/pgm2/f18.js index c9ef3d277..0294c8756 100644 --- a/fhem/www/pgm2/f18.js +++ b/fhem/www/pgm2/f18.js @@ -868,6 +868,7 @@ f18_textInput() $("#"+n).dialog({ dialogClass:"no-close", modal:true, width:"auto", closeOnEscape:true, maxWidth:$(window).width()*0.9, maxHeight:$(window).height()*0.9, + position: { my: "right", at: "center" }, buttons: [ {text:"Execute",click:function(){ FW_execRawDef( ta.val()) }}, {text:"Close", click:function(){ $(this).remove(); }},