From d107a280b2c3e798b1ded56ead2139278ca7e39f Mon Sep 17 00:00:00 2001
From: phenning <>
Date: Fri, 23 Feb 2018 14:47:47 +0000
Subject: [PATCH] 95_Babble.pm: Bugfix
git-svn-id: https://svn.fhem.de/fhem/trunk@16246 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/FHEM/95_Babble.pm | 5 +++--
fhem/www/pgm2/babble.js | 4 +++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/fhem/FHEM/95_Babble.pm b/fhem/FHEM/95_Babble.pm
index 25bd72ced..bd2c18d5f 100644
--- a/fhem/FHEM/95_Babble.pm
+++ b/fhem/FHEM/95_Babble.pm
@@ -53,7 +53,7 @@ if (eval {require RiveScript;1;} ne 1) {
my $babblelinkname = "babbles"; # link text
my $babblehiddenroom = "babbleRoom"; # hidden room
my $babblepublicroom = "babble"; # public room
-my $babbleversion = "1.24";
+my $babbleversion = "1.25";
my %babble_transtable_EN = (
"ok" => "OK",
@@ -1931,7 +1931,8 @@ sub Babble_Html($)
$ret .= "var newplace = '';\n";
$ret .= "var newverbs = '';\n";
$ret .= "var newtargs = '';\n";
- $ret .= "var newfield = '';\n";
+ $ret .= "var newfield = '';\n";
+ $ret .= "var newcheck = '';\n";
$rot .= "\n";
diff --git a/fhem/www/pgm2/babble.js b/fhem/www/pgm2/babble.js
index 8ed611c6c..f33b22b4f 100644
--- a/fhem/www/pgm2/babble.js
+++ b/fhem/www/pgm2/babble.js
@@ -1,6 +1,6 @@
//########################################################################################
// babble.js
-// Version 1.2
+// Version 1.25
// See 95_Babble for licensing
//########################################################################################
//# Prof. Dr. Peter A. Henning
@@ -181,11 +181,13 @@ function babble_addrow(name, devx, rowx) {
var cell4 = row.insertCell(4);
var cell5 = row.insertCell(5);
var cell6 = row.insertCell(6);
+ var cell7 = row.insertCell(7);
//copy from existing row if such a row exists
cell2.innerHTML = newplace;
cell3.innerHTML = newverbs;
cell4.innerHTML = newtargs;
cell5.innerHTML = newfield;
+ cell6.innerHTML = newcheck;
}
function babble_remrow(name, devx, rowx) {