Skip to content

Commit

Permalink
Rulebase template fix for Internet Explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneg committed Jul 5, 2018
1 parent 6d0c208 commit c6b184f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
<artifactId>web_api_show_package</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<name>Web API Show Package</name>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ enum ShowPackageConfiguration {

INSTANCE;

private static final String TOOL_VERSION = "v2.0.0";
private static final String TOOL_VERSION = "v2.0.1";
private static final String TAR_SUFFIX = ".tar.gz";
private static final String LOG_SUFFIX = ".elg";
private static final String PREFIX = "show_package-";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,14 @@

// end of dynamic content

var firstAccessRule = data.find(function (e) {
return e.type === "access-rule"
});
var firstAccessRule;
for (var i in data) {
if (data[i].type === "access-rule") {
firstAccessRule = data[i];
break;
}
}

var showHitCount = !!(firstAccessRule && firstAccessRule.hits);
</script>

Expand Down

0 comments on commit c6b184f

Please sign in to comment.