Skip to content
Permalink
Browse files

Fixed initial ViewFile mode and suggestions links from previous commit

  • Loading branch information...
luccioman committed Mar 27, 2018
1 parent 0b6aed4 commit 90dc580158ddb286b1f81d7ed3b6c974b24a8e6b
Showing with 2 additions and 2 deletions.
  1. +1 −1 htroot/ViewFile.html
  2. +1 −1 htroot/ViewFile.java
@@ -45,7 +45,7 @@
html += "<td>URL from index (total results = " + totalResults + ")<\/td>";
for (var i = 0; i < firstChannel.items.length; i++) {
item = firstChannel.items[i];
html += "<tr class=\"TableCellLight\"><td align=\"left\"><a href=\"ViewFile.html?url=" + item.link + "\">" + item.link + "<\/a><\/td>";
html += "<tr class=\"TableCellLight\"><td align=\"left\"><a href=\"ViewFile.html?viewMode=#[viewModeValue]#&url=" + item.link + "\">" + item.link + "<\/a><\/td>";
}
html += "<\/table>";
}
@@ -89,7 +89,7 @@ public static serverObjects respond(final RequestHeader header, final serverObje
prop.put("topmenu", sb.getConfigBool("publicTopmenu", true) ? 1 : 0);
prop.put("moar", 0);
prop.put("viewMode", VIEW_MODE_NO_TEXT);
prop.put("viewModeValue", "");
prop.put("viewModeValue", "sentences");
prop.putHTML("error_words", "");
prop.put("error_vMode-sentences", "1");
prop.put("error", "1");

0 comments on commit 90dc580

Please sign in to comment.
You can’t perform that action at this time.