TransclusionDecideRule.java - consider form submission "S" hop as navlink like "L", not transcluded

This commit is contained in:
Noah Levitt
2013-08-05 16:05:02 -07:00
parent f4f3b9be38
commit 8c64cba9ae
@@ -93,7 +93,7 @@ public class TransclusionDecideRule extends PredicatedDecideRule {
int specCount = 0;
for (int i = hopsPath.length() - 1; i >= 0; i--) {
char c = hopsPath.charAt(i);
if (c == Hop.NAVLINK.getHopChar()) {
if (c == Hop.NAVLINK.getHopChar() || c == Hop.SUBMIT.getHopChar()) {
// end of hops counted here
break;
}