Commit Diff


commit - 77dcd624b30cb635d49857559171db6a4a952c32
commit + 63a0e6a36df96670d2137ce3288c2716338fb595
blob - f0467f64861e6193a7c5f1f736e398373ab19649
blob + 766c83593b31c6cb3707afc037da73a326381b6d
--- de/mud/jta/default.conf
+++ de/mud/jta/default.conf
@@ -5,11 +5,11 @@
 # the Free Software Foundation; either version 2, or (at your option)
 # any later version.
 #
-# "The Java Telnet Application" is distributed in the hope that it will be 
+# "The Java Telnet Application" is distributed in the hope that it will be
 # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this software; see the file COPYING.  If not, write to the
 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
@@ -96,3 +96,7 @@ Terminal.encoding		=	latin1
 # =======================================================================
 MudConnector.listURL	=	http://www.mudconnector.com/java/Telnet/javalist.db
 
+# =======================================================================
+# MudConnect defaults
+# =======================================================================
+Capture.url       = Configure this URL!
blob - a9e481f495e150e0c10c9d834bcfad5846ef98c1
blob + 033dec9adb4dc67538ab3ae32156bc27a32a00cf
--- de/mud/jta/plugin/Capture.java
+++ de/mud/jta/plugin/Capture.java
@@ -45,6 +45,14 @@ import java.net.URLEncoder;
  * configuration option Capture.url and can be used in
  * conjunction with the UploadServlet from the tools directory.
  * <P>
+ * Parametrize the plugin carefully:<br>
+ * <b>Capture.url</b> should contain a unique URL can may have
+ * parameters for identifying the upload.<br>
+ * <i>Example:</i> http://mg.mud.de/servlet/UpladServlet?id=12345
+ * <p>
+ * The actually captured data will be appended as the parameter
+ * <b>content</b>.
+ * <P>
  * <B>Maintainer:</B> Matthias L. Jugel
  *
  * @version $Id$
@@ -148,8 +156,10 @@ public class Capture extends Plugin
           if (debug > 0) System.out.println("view/hide text: " + frame.isVisible());
           if (frame.isVisible()) {
             frame.setVisible(false);
+            frame.hide();
           } else {
             frame.setVisible(true);
+            frame.show();
           }
         }
       });