Disabled the iframe fallback for the summary bar

HTML compliance wins out over summary bar refresh for users with JS disabled,
for now - get user feedback after release.
This commit is contained in:
str4d
2012-07-24 13:15:11 +00:00
parent a92456e144
commit 72f74b7f6e
2 changed files with 5 additions and 3 deletions

View File

@@ -23,7 +23,7 @@
// update disable boolean // update disable boolean
intl.setDisableRefresh(d); intl.setDisableRefresh(d);
} }
if (!intl.getDisableRefresh()) if (false && !intl.getDisableRefresh())
out.print("<noscript><iframe src=\"/summaryframe.jsp" + newDelay + "\" height=\"1500\" width=\"200\" scrolling=\"auto\" frameborder=\"0\" title=\"sidepanel\"></noscript>\n"); out.print("<noscript><iframe src=\"/summaryframe.jsp" + newDelay + "\" height=\"1500\" width=\"200\" scrolling=\"auto\" frameborder=\"0\" title=\"sidepanel\"></noscript>\n");
} }
%> %>
@@ -42,9 +42,9 @@
} }
// d and allowIFrame defined above // d and allowIFrame defined above
if (!intl.getDisableRefresh()) { if (false && !intl.getDisableRefresh()) {
out.print("</div><noscript></iframe></noscript>\n"); out.print("</div><noscript></iframe></noscript>\n");
} else if (allowIFrame) { } else if (false && allowIFrame) {
// since we don't have an iframe this will reload the base page, and // since we don't have an iframe this will reload the base page, and
// the new delay will be passed to the iframe above // the new delay will be passed to the iframe above
out.print("<noscript><div class=\"refresh\"><form action=\"" + request.getRequestURI() + "\" method=\"POST\">\n" + out.print("<noscript><div class=\"refresh\"><form action=\"" + request.getRequestURI() + "\" method=\"POST\">\n" +

View File

@@ -1,4 +1,6 @@
2012-07-24 str4d 2012-07-24 str4d
* Summary bar: disable fallback iframe in summary.jsi (so when JS is disabled
the summary bar will not refresh at all)
* Home page: * Home page:
- Replaced 16x16 icons with 32x32 ones - Replaced 16x16 icons with 32x32 ones
- Updated icon for git.repo.i2p - Updated icon for git.repo.i2p