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(''+txt+'
');
$('#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'); }},