Fixed a bug where Webkit Browsers would not correctly display the icons in the dropdo...
authorIngo Renner <ingo.renner@typo3.org>
Wed, 23 Apr 2008 06:56:51 +0000 (06:56 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Wed, 23 Apr 2008 06:56:51 +0000 (06:56 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3621 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php

index b06a706..b981bd1 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-23  Ingo Renner  <ingo@typo3.org>
+
+       * Fixed a bug where Webkit Browsers would not correctly display the icons in the dropdown type selector of records like pages and content elements, credits Jeff Segars
+
 2008-04-22  Benjamin Mack  <benni@typo3.org>
 
        * Fixed visual bug: DB-List - No Space Between Table and Field-Selector
index 7452d83..ff0100b 100755 (executable)
@@ -1537,7 +1537,7 @@ class t3lib_TCEforms      {
                                if ($sM) {
                                        list($selectIconFile,$selectIconInfo) = $this->getIcon($p[2]);
                                                if (!empty($selectIconInfo)) {
-                                                       $selectedStyle = ' style="background-image: url('.$selectIconFile.'); background-repeat: no-repeat; background-position: 0% 50%; padding: 1px; padding-left: 24px;"';
+                                                       $selectedStyle = ' style="background-image: url('.$selectIconFile.'); background-repeat: no-repeat; background-position: 0% 50%; padding: 1px; padding-left: 24px; -webkit-background-size: 0;"';
                                                }
                                }
                        }