final-BUGFIX-Package-TYPO3-Animation-of-breadcrumb-module.patch

final, use only patch. - Christian Müller, 2010-10-07 18:53

Download (2.08 KB)

View differences:

Resources/Public/Backend/JavaScript/UserInterface/BreadcrumbMenu/NodeUI.js
107 107

  
108 108
		this.anchor = cs[index];
109 109
		this.textNode = cs[1];
110
		this.isOpen = false;
110 111
	},
111 112

  
112 113
	/**
......
117 118
	onOver : function(e) {
118 119
		Ext.get(this.getEl()).setStyle({width: 'auto'});
119 120
		Ext.get(this.elNode).setStyle({width: 'auto'});
121
		if (this.isOpen === false) {
122
			F3.TYPO3.UserInterface.BreadcrumbMenu.AnimationHandler.nodeOnOver(this, e);
123
			this.isOpen = true;
124
		}
120 125

  
121
		F3.TYPO3.UserInterface.BreadcrumbMenu.AnimationHandler.nodeOnOver(this, e);
122 126
    },
123 127

  
124 128
	/**
......
129 133
    onOut : function(e) {
130 134
		Ext.get(this.getEl()).setStyle({width: 'auto'});
131 135
		Ext.get(this.elNode).setStyle({width: 'auto'});
132
		F3.TYPO3.UserInterface.BreadcrumbMenu.AnimationHandler.nodeOnOut(this, e);
136
		if(this.isOpen === true  && !e.within(Ext.get(this.elNode), 1)){
137
			F3.TYPO3.UserInterface.BreadcrumbMenu.AnimationHandler.nodeOnOut(this, e);
138
			this.isOpen = false;
139
		}
133 140
    },
134 141

  
135 142

  
136
-