Skip to content

Commit

Permalink
preserve showDevProperties in some places (should do it more)
Browse files Browse the repository at this point in the history
  • Loading branch information
eggrobin committed Jan 18, 2024
1 parent 72598b2 commit ff1a2d9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions UnicodeJsps/src/main/webapp/character.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ th { text-align: left }
nextHex += "&history=" + history;
prevHex += "&history=" + history;
}
if (showDevProperties) {
nextHex += "&showDevProperties=1";
prevHex += "&showDevProperties=1";
}
if (codePoints.length > 1) {
%>
<p class="error">
Expand Down Expand Up @@ -76,6 +80,11 @@ th { text-align: left }
<input name="history" type="hidden" value="<%=history%>">
<%
}
if (showDevProperties) {
%>
<input name="showDevProperties" type="hidden" value="1">
<%
}
%>
</p>
</form>
Expand Down
7 changes: 7 additions & 0 deletions UnicodeJsps/src/main/webapp/list-unicodeset.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@
<input type="text" <%=escape ? "checked" : ""%> name="g" size="25" value="<%=Encode.forHtmlAttribute(group)%>">
<label for="i">Info:</label>
<input type="text" <%=escape ? "checked" : ""%> name="i" size="25" value="<%=Encode.forHtmlAttribute(info)%>">
<%
if (showDevProperties) {
%>
<input name="showDevProperties" type="hidden" value="1">
<%
}
%>
</td>
</tr>
</table>
Expand Down

0 comments on commit ff1a2d9

Please sign in to comment.