Fixes to shortcut menu of Cleaner Backend required for IE7
authorIngmar Schlecht <ingmar.schlecht@typo3.org>
Tue, 15 Jan 2008 23:30:38 +0000 (23:30 +0000)
committerIngmar Schlecht <ingmar.schlecht@typo3.org>
Tue, 15 Jan 2008 23:30:38 +0000 (23:30 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2912 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/js/shortcutmenu.js

index 1a98a61..860090b 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
 
        * Added feature #6784: New login-box System-Extension "felogin". This is a refactored version of the "newloginbox" extension, now integrated into the core. (Big thanks to Steffen Kamper for writing this extension for core integration!)
        * Minor improvements to the Cleaner Backend stylesheet (by Steffen Kamper)
+       * Fixes to shortcut menu of Cleaner Backend required for IE7
 
 2008-01-15  Ingo Renner  <ingo@typo3.org>
 
index 3668371..21c67f0 100644 (file)
@@ -60,7 +60,7 @@ var ShortcutMenu = Class.create({
                        new Ajax.InPlaceEditor('shortcut-label-' + shortcutId, 'ajax.php?ajaxID=ShortcutMenu::saveShortcut', {
                                externalControl     : 'shortcut-edit-' + shortcutId,
                                externalControlOnly : true,
-                               highlightcolor      : 'transparent',
+                               highlightcolor      : '#f9f9f9',
                                onFormCustomization : this.addGroupSelect,
                                onComplete          : this.reRenderMenu.bind(this),
                                callback            : function(form, nameInputFieldValue) {
@@ -148,7 +148,7 @@ var ShortcutMenu = Class.create({
         * adds a select field for the groups
         */
        addGroupSelect: function(inPlaceEditor, inPlaceEditorForm) {
-               var selectField = document.createElement('select');
+               var selectField = $(document.createElement('select'));
 
                        // determine the shortcut id
                var shortcutId  = inPlaceEditorForm.identify().slice(9, -14);
@@ -204,6 +204,7 @@ var ShortcutMenu = Class.create({
                        }
                });
 
+               inPlaceEditor._form.appendChild(document.createElement('br'));
                inPlaceEditor._form.appendChild(selectField);
                inPlaceEditor._form.appendChild(document.createElement('br'));
        },