Skip to content

Commit

Permalink
Sync comments rb when returning to the page in IE.
Browse files Browse the repository at this point in the history
  • Loading branch information
johncurrier committed Apr 28, 2006
1 parent c9cce71 commit ae050b2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/net/sourceforge/schemaspy/view/JavaScriptFormatter.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ public void write(LineWriter out) throws IOException {
out.writeln("function syncOptions() {");
out.writeln(" var options = document.options;");
out.writeln(" if (options) {");
out.writeln(" var cb = options.showRelatedCols;");
out.writeln(" var cb = options.showComments;");
out.writeln(" if (cb && cb.checked) {");
out.writeln(" cb.checked=false;");
out.writeln(" cb.click();");
out.writeln(" }");
out.writeln(" cb = options.showRelatedCols;");
out.writeln(" if (cb && cb.checked) {");
out.writeln(" cb.checked=false;");
out.writeln(" cb.click();");
Expand Down

0 comments on commit ae050b2

Please sign in to comment.