* Fixed bug #0000930: The delete button in QuickEdit mode lead to a 404 message....
authorMichael Scharkow <michael@underused.org>
Wed, 11 May 2005 19:28:27 +0000 (19:28 +0000)
committerMichael Scharkow <michael@underused.org>
Wed, 11 May 2005 19:28:27 +0000 (19:28 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@716 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/layout/db_layout.php

index d720c78..6d9e90c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2005-05-11  Michael Scharkow  <mscharkow@gmx.net>
+       * Fixed bug #0000930: The delete button in QuickEdit mode lead to a 404 message. Thanks to Sebastian Kurfürst.
+
 2005-05-09  Kasper Skårhøj,,,  <kasper@typo3.com>
 
        * Closed Indexed Search before 3.8.0 launch: Despite my hopes I had to significantly lower my ambitions for this release; I couldn't find time to complete the overhaul but had to just patch up any immediate problems and make it work for the 3.8.0 release. The TODO list inside is updated with the remaining tasks which is due for 4.0.0 late summer. If "Indexing Configurations" supporting indexing of external files, URLs and individual records have been mentioned earlier in this changelog or on the featurelist I can inform that the incomplete implementation has been disabled and postponed for 4.0.
index a411a3f..494605f 100755 (executable)
@@ -638,7 +638,7 @@ class SC_db_layout {
                                '<img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/closedok.gif','width="21" height="16"').' class="c-inputButton" title="'.$LANG->sL('LLL:EXT:lang/locallang_core.php:rm.closeDoc',1).'" alt="" />'.
                                '</a>'.
 
-                       ($deleteButton ? '<a href="#" onclick="'.htmlspecialchars('return deleteRecord(\''.$eRParts[0].'\',\''.$eRParts[1].'\',\'db_layout.php?id='.$this->id.'\');').'">'.
+                       ($deleteButton ? '<a href="#" onclick="'.htmlspecialchars('return deleteRecord(\''.$eRParts[0].'\',\''.$eRParts[1].'\',\''.t3lib_div::getIndpEnv('SCRIPT_NAME').'?id='.$this->id.'\');').'">'.
                                                        '<img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/deletedok.gif','width="21" height="16"').' class="c-inputButton" title="'.$LANG->getLL('deleteItem',1).'" alt="" />'.
                                                        '</a>' : '').