]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
xml filename in the quick editor region is now a link to jtageditor.pl that directly...
authorMichael Wiebusch <stratomaster@gmx.net>
Wed, 21 Aug 2013 16:23:14 +0000 (18:23 +0200)
committerMichael Wiebusch <stratomaster@gmx.net>
Wed, 21 Aug 2013 16:23:14 +0000 (18:23 +0200)
tools/jtageditor.pl
tools/testgui.pl

index 14cf001937e915c25fee241e811d2add99e50409..db625f0f700179d43af32732e89719e413099da5 100755 (executable)
@@ -6,8 +6,6 @@ print "Content-type: text/html\n\n";
 # --- critical ---
 
 
-# make jtageditor callable with config file name as CGI
-# argument, so editor opens specified config file
 
 
 # what happens when files are not writable?
@@ -29,6 +27,11 @@ print "Content-type: text/html\n\n";
 
 
 # DONE
+
+
+# make jtageditor callable with config file name as CGI
+# argument, so editor opens specified config file
+
 # be able to accept long hex strings
 
 # outsource print_registers and print_fields to xmlOperations
index 0da6652c872071f96ca940939977d206ae8dde7e..38d0004f3b5772f0a4f9fb57bdbba2dbebaadf1d 100755 (executable)
@@ -302,7 +302,7 @@ sub print_quickEditArea {
   parseConfigAndSpec($argumentConfigFile);
   integrateAncestry();
   print "<div class='header'>quick editor</div>";
-  print "<div align=center>".getConfigFileName()."</div>";
+  print "<div align=center><a title='open config file with the full featured JTAG editor' href='jtageditor.pl?edit=".getConfigFileName()."'>".getConfigFileName()."</a></div>";
   setEditorRefreshCommand("reloadQuickEditArea(\"".getConfigFileName()."\",\"$quickEditAreaId\")"); 
   print_registers(getConfigFile());