From e657340bbd9d8481045dfd359f3d108e79644c56 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Mon, 23 Jan 2017 17:17:20 +0000 Subject: [PATCH] console.js: Better wording in the addRegexpPart dialog git-svn-id: https://svn.fhem.de/fhem/trunk@13211 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/www/pgm2/console.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/fhem/www/pgm2/console.js b/fhem/www/pgm2/console.js index 7caaf9db2..87099056f 100644 --- a/fhem/www/pgm2/console.js +++ b/fhem/www/pgm2/console.js @@ -198,21 +198,19 @@ consAddRegexpPart() 'div.evt label { display:block; margin-left:2em; }\n'+ 'div.evt input { float:left; }\n'+ '\n'; - txt += "
addRegexpPart

"; + txt += "Extend the regular expression of the device
"; + txt += "

"; txt += "
"+ ""+ - "

"; + "
"; if(re1 != re2) txt += "
"+ ""+ "

"; - txt += "Device to add: "; - txt += ""; $('body').append(''); $('#addReP').dialog( - { modal:true, closeOnEscape:true, - maxWidth:$(window).width()*3/4, maxHeight:$(window).height()*3/4, + { modal:true, closeOnEscape:true, width:"auto", close:function(){ $('#addReP').remove(); }, buttons:[ { text:"Cancel", click:function(){ $(this).dialog('close'); }},