Changeset 5cb449e


Ignore:
Timestamp:
Apr 19, 2013 11:40:36 AM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
5ea2832
Parents:
46f8344
Message:
  • i2psnark: Disable spellcheck in more form fields
File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java

    r46f8344 r5cb449e  
    153153     */
    154154    private void doGetAndPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
    155         if (_log.shouldLog(Log.DEBUG))
    156             _log.debug("Service " + req.getMethod() + " \"" + req.getContextPath() + "\" \"" + req.getServletPath() + "\" \"" + req.getPathInfo() + '"');
     155        //if (_log.shouldLog(Log.DEBUG))
     156        //    _log.debug("Service " + req.getMethod() + " \"" + req.getContextPath() + "\" \"" + req.getServletPath() + "\" \"" + req.getPathInfo() + '"');
    157157        // since we are not overriding handle*(), do this here
    158158        String method = req.getMethod();
     
    16181618        out.write("</span><hr>\n<table border=\"0\"><tr><td>");
    16191619        out.write(_("From URL"));
    1620         out.write(":<td><input type=\"text\" name=\"newURL\" size=\"85\" value=\"" + newURL + "\"");
     1620        out.write(":<td><input type=\"text\" name=\"newURL\" size=\"85\" value=\"" + newURL + "\" spellcheck=\"false\"");
    16211621        out.write(" title=\"");
    16221622        out.write(_("Enter the torrent file download URL (I2P only), magnet link, maggot link, or info hash"));
     
    16591659        out.write(":<td><code>" + _manager.getDataDir().getAbsolutePath() + File.separatorChar
    16601660                  + "</code><input type=\"text\" name=\"baseFile\" size=\"58\" value=\"" + baseFile
    1661                   + "\" title=\"");
     1661                  + "\" spellcheck=\"false\" title=\"");
    16621662        out.write(_("File or directory to seed (must be within the specified path)"));
    16631663        out.write("\" ><tr><td>\n");
     
    17251725
    17261726        out.write(_("Data directory"));
    1727         out.write(": <td><input name=\"dataDir\" size=\"80\" value=\"" + dataDir + "\"></td>\n" +
     1727        out.write(": <td><input name=\"dataDir\" size=\"80\" value=\"" + dataDir + "\" spellcheck=\"false\"></td>\n" +
    17281728
    17291729                  "<tr><td>");
     
    19541954        buf.append("<tr><td><b>")
    19551955           .append(_("Add")).append(":</b></td>" +
    1956                    "<td><input type=\"text\" class=\"trackername\" name=\"tname\"></td>" +
    1957                    "<td><input type=\"text\" class=\"trackerhome\" name=\"thurl\"></td>" +
     1956                   "<td><input type=\"text\" class=\"trackername\" name=\"tname\" spellcheck=\"false\"></td>" +
     1957                   "<td><input type=\"text\" class=\"trackerhome\" name=\"thurl\" spellcheck=\"false\"></td>" +
    19581958                   "<td><input type=\"checkbox\" class=\"optbox\" name=\"_add_open_\"></td>" +
    19591959                   "<td><input type=\"checkbox\" class=\"optbox\" name=\"_add_private_\"></td>" +
    1960                    "<td><input type=\"text\" class=\"trackerannounce\" name=\"taurl\"></td></tr>\n" +
     1960                   "<td><input type=\"text\" class=\"trackerannounce\" name=\"taurl\" spellcheck=\"false\"></td></tr>\n" +
    19611961                   "<tr><td colspan=\"6\">&nbsp;</td></tr>\n" +  // spacer
    19621962                   "<tr><td colspan=\"2\"></td><td colspan=\"4\">\n" +
Note: See TracChangeset for help on using the changeset viewer.