2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

fhemweb.js: Add codemirror support to long textfields (Forum #32709)

git-svn-id: https://svn.fhem.de/fhem/trunk@7693 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-01-24 15:30:54 +00:00
parent 2feea08888
commit b5b0b0af04

View File

@ -574,6 +574,9 @@ FW_createTextField(elName, devName, vArr, currVal, set, params, cmd)
$("#td_longText").val($(inp).val());
if( typeof AddCodeMirror == 'function' )
AddCodeMirror($("#td_longText").get(0));
$('#editdlg').dialog(
{ modal:true, closeOnEscape:true, width:$(window).width()*3/4,
maxHeight:$(window).height()*3/4,