2010-07-27 Steffen Kamper <steffen@typo3.org>
+ * Fixed bug #15252: Bug: Backend shortcut cannot be set in IE8
* Fixed bug #15218: [Feature] Possible Replace of Contrib Libraries
* Fixed bug #15228: Links in TS object browser tree forget the breakkpoint
* Fixed bug #14946: Switching workplaces causes nesting of BE (Thanks to Stefan Galinski)
var toolbarItemIcon = $$('#shortcut-menu .toolbar-item span.t3-icon')[0];
var parent = Element.up(toolbarItemIcon);
- var oldIcon = toolbarItemIcon.remove();
- var spinner = Element('span', { 'class': 'spinner'});
- parent.insert(spinner, {position: content});
+ var spinner = new Element('span').addClassName('spinner');
+ var oldIcon = toolbarItemIcon.replace(spinner);
// synchrous call to wait for it to complete and call the render
// method with backpath _afterwards_
});
this.reRenderMenu(null, null, backPath);
- spinner.remove();
- parent.insert(oldIcon, {position: content});
+ spinner.replace(oldIcon);
}
});