Index: branches/RC/core/admin_templates/incs/header.tpl
===================================================================
diff -u -N -r11623 -r11931
--- branches/RC/core/admin_templates/incs/header.tpl (.../header.tpl) (revision 11623)
+++ branches/RC/core/admin_templates/incs/header.tpl (.../header.tpl) (revision 11931)
@@ -50,6 +50,7 @@
TB.pathToImage = 'js/jquery/thickbox/loadingAnimation.gif';
var t = '';
var popups = '1';
+var $modal_windows = truefalse;
var multiple_windows = '1';
var main_title = '';
var tpl_changed = 0;
@@ -67,7 +68,10 @@
if (!window.name.match(/_$/)) {
window.name += '_'; // change window name only once per window
- getFrame('main').TB.setWindowMetaData('window_name', window.name); // used to simulate window.opener functionality
+
+ if ($modal_windows) {
+ getFrame('main').TB.setWindowMetaData('window_name', window.name); // used to simulate window.opener functionality
+ }
}