]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
last fix was wrong, now better fix
authorMichael Wiebusch <stratomaster@gmx.net>
Thu, 15 Aug 2013 16:24:46 +0000 (18:24 +0200)
committerMichael Wiebusch <stratomaster@gmx.net>
Thu, 15 Aug 2013 16:24:46 +0000 (18:24 +0200)
tools/xmlRendering.pm

index 7b183e03701ab5c7907a293a5784146794f0f394..9a1e1cb086c4e84845fab59e3741902185296213 100644 (file)
@@ -245,7 +245,7 @@ EOF
     }
     
     print '</td>';
-    if ( $xmlfile eq $specFile ) { # we are printing the Specifications tree
+    if ( $xmlfile eq $configFile) {
     print qq%<td onclick='baseConversion("$configFileName","$registerName","$fieldName","hex");$editorRefreshCommand'>%;
     print "H";
     print "</td>";
@@ -257,6 +257,8 @@ EOF
     print qq%<td onclick='baseConversion("$configFileName","$registerName","$fieldName","dec");$editorRefreshCommand'>%;
     print "D";
     print "</td>";
+    }
+    if ( $xmlfile eq $specFile ) { # we are printing the Specifications tree
       print <<EOF;
 <td class='button_move' onclick='saveSettings("$configFileName","$registerName","$fieldName","$fieldValue");$editorRefreshCommand'>&nbsp;&rarr;&nbsp;</td>
 EOF