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

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 7c8e269708
commit fc5c3d527d

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