Commit 653fb38b authored by Benoit Mortier's avatar Benoit Mortier
Browse files

Revert "Fixes sonar bugs"

This reverts commit be4ed60e.
Showing with 3 additions and 11 deletions
+3 -11
...@@ -496,15 +496,6 @@ attributetype ( 1.3.6.1.4.1.38414.8.21.5 NAME 'fdCasContext' ...@@ -496,15 +496,6 @@ attributetype ( 1.3.6.1.4.1.38414.8.21.5 NAME 'fdCasContext'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE) SINGLE-VALUE)
#tokens RDN
attributetype ( 1.3.6.1.4.1.38414.8.22.2 NAME 'fdRecoveryTokenRDN'
DESC 'FusionDirectory - Recovery Password Token RDN'
EQUALITY caseExactIA5Match
SUBSTR caseExactIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE)
# merged from dashboard-fd.schema - Needed by Fusion Directory for dashboard options # merged from dashboard-fd.schema - Needed by Fusion Directory for dashboard options
attributetype ( 1.3.6.1.4.1.38414.27.1.1 NAME 'fdDashboardPrefix' attributetype ( 1.3.6.1.4.1.38414.27.1.1 NAME 'fdDashboardPrefix'
...@@ -582,6 +573,7 @@ attributetype ( 1.3.6.1.4.1.38414.8.110.9 NAME 'fdPasswordRecoveryUseAlternate' ...@@ -582,6 +573,7 @@ attributetype ( 1.3.6.1.4.1.38414.8.110.9 NAME 'fdPasswordRecoveryUseAlternate'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE ) SINGLE-VALUE )
# Object Class # Object Class
objectclass ( 1.3.6.1.4.1.38414.8.2.1 NAME 'fusionDirectoryConf' objectclass ( 1.3.6.1.4.1.38414.8.2.1 NAME 'fusionDirectoryConf'
DESC 'FusionDirectory configuration' DESC 'FusionDirectory configuration'
......
...@@ -96,7 +96,7 @@ MenuContainer.prototype = { ...@@ -96,7 +96,7 @@ MenuContainer.prototype = {
for (var i = 0; i < childNodes.length; i++) { for (var i = 0; i < childNodes.length; i++) {
var node = childNodes[i]; var node = childNodes[i];
if (node.nodeType === 1) { if (node.nodeType == 1) {
if (this.type === "menuContainer") { if (this.type === "menuContainer") {
if (node.tagName.toLowerCase() === "li") { if (node.tagName.toLowerCase() === "li") {
this.menuItems.push(new MenuItem(node, this)); this.menuItems.push(new MenuItem(node, this));
...@@ -138,7 +138,7 @@ MenuContainer.prototype = { ...@@ -138,7 +138,7 @@ MenuContainer.prototype = {
top: (Position.positionedOffset(this.parent.element)[1] + Element.getHeight(this.parent.element)) + "px" top: (Position.positionedOffset(this.parent.element)[1] + Element.getHeight(this.parent.element)) + "px"
}); });
} else if (this.menuType === "flyout") { } else if (this.menuType === "flyout") {
var parentMenuBorders = this.parentMenu ? this.parentMenu.getBorders() : {}; var parentMenuBorders = this.parentMenu ? this.parentMenu.getBorders() : new Object();
var thisBorders = this.getBorders(); var thisBorders = this.getBorders();
if ( if (
(Position.positionedOffset(this.parentMenu.element)[0] + this.parentMenu.element.offsetWidth + this.element.offsetWidth + 20) > (Position.positionedOffset(this.parentMenu.element)[0] + this.parentMenu.element.offsetWidth + this.element.offsetWidth + 20) >
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment