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
This commit is contained in:
rudolfkoenig
2020-08-22 10:22:29 +00:00
parent d131a371e4
commit ae6d08dc7e

View File

@@ -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(); }},