Projekt

Allgemein

Profil

GX-Bug #45028 » WhitePageFix.patch

/admin/javascript/engine/compatibility/init_html_fixes.js - Till Tepelmann, 10.02.2016 17:39

Unterschiede anzeigen:

src/admin/javascript/engine/compatibility/init_html_fixes.js (revision )
210 210

  
211 211
			$.each(selectors, function () {
212 212
				$(this).each(function () {
213
					if ($(this).attr('onmouseover')) {
214
						if ($(this).attr('onmouseover').indexOf('this.className') > -1) {
213
					if ($(this).attr('onmouseover') && $(this).attr('onmouseover').indexOf('this.className') > -1) {
215
							$(this).removeAttr('onmouseover');
216
						}
214
						$(this).removeAttr('onmouseover');
215
					}
217 216

  
218
						if ($(this).attr('onmouseout').indexOf('this.className') > -1) {
217
					if ($(this).attr('onmouseout') && $(this).attr('onmouseout').indexOf('this.className') > -1) {
219
							$(this).removeAttr('onmouseout');
218
						$(this).removeAttr('onmouseout');
220
						}
221 219
					}
222 220
				});
223 221
			});
(1-1/2)