Fixed bug #10761: Searching for specific record opens "edit record" in wrong frame
authorSteffen Kamper <info@sk-typo3.de>
Tue, 24 Mar 2009 14:22:00 +0000 (14:22 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 24 Mar 2009 14:22:00 +0000 (14:22 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5220 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/js/backendsearch.js

index 59a4089..e9c7432 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-24  Steffen Kamper  <info@sk-typo3.de>
+
+       * Fixed bug #10761: Searching for specific record opens "edit record" in wrong frame
+
 2009-03-23  Steffen Kamper  <info@sk-typo3.de>
 
        * Fixed bug #10432: Page TS option to disable avaiable languages (thanks to Xavier Perseguers) 
index 9d66606..4a173a2 100644 (file)
@@ -134,7 +134,11 @@ var BackendSearch = Class.create({
                                                top.loadEditId(jsonResponse.editRecord);
                                                break;
                                        case 'alternative':
-                                               top.content.window.location.href = 'alt_doc.php?returnUrl=dummy.php&edit[' + jsonResponse.alternativeTable + '][' + jsonResponse.alternativeUid + ']=edit'
+                                               this.jump( 
+                                                       unescape('alt_doc.php?returnUrl=dummy.php&edit[' + jsonResponse.alternativeTable + '][' + jsonResponse.alternativeUid + ']=edit'),
+                                                       'web_list',
+                                                       'web'
+                                               );
                                                break;
                                        case 'search':
                                                this.jump(