⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
TYPO3 Core
All Projects
TYPO3 Core
Overview
Activity
Roadmap
Issues
Repository
Download (814 Bytes)
Bug #15105
» showpic-resize-patch.txt
Administrator Admin, 2005-11-14 18:30
Index: class.tslib_fe.php
===================================================================
RCS file: /cvsroot/typo3/TYPO3core/typo3/sysext/cms/tslib/class.tslib_fe.php,v
retrieving revision 1.78
diff -u -r1.78 class.tslib_fe.php
--- class.tslib_fe.php 30 Apr 2005 17:54:42 -0000 1.78
+++ class.tslib_fe.php 14 Nov 2005 17:29:25 -0000
@@ -3414,8 +3414,11 @@
case 'openPic':
$this->additionalJavaScript[$key]=
' function openPic(url,winName,winParams) { //
- var theWindow = window.open(url,winName,winParams);
- if (theWindow) {theWindow.focus();}
+ var theWindow;
+ theWindow = window.open("",winName,winParams);
+ if (theWindow) {theWindow.close();}
+ theWindow = window.open(url,winName,winParams);
+ if (theWindow) {theWindow.focus();}
}';
break;
default:
« Previous
1
2
Next »
(2-2/2)
Loading...