Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/admin_templates/js/script.js
Show First 20 Lines • Show All 893 Lines • ▼ Show 20 Line(s) | |||||
menuMgr.hideMenus(); | menuMgr.hideMenus(); | ||||
menuMgr.renderMenus('nlsMenuPlace'); | menuMgr.renderMenus('nlsMenuPlace'); | ||||
nlsMenuRendered = true; | nlsMenuRendered = true; | ||||
} | } | ||||
function set_window_title($title) { | function set_window_title($title) { | ||||
var $window = window; | var $window = window; | ||||
if ( main_title.length ) { | |||||
$title += ' - ' + main_title; | |||||
} | |||||
if ( !$modal_windows && getWindowOpener($window) ) { | |||||
$window.document.title = $title; | |||||
} | |||||
else { | |||||
if ( $window.name != 'main' ) { | if ( $window.name != 'main' ) { | ||||
// traverse through real popups | // Traverse through real popups. | ||||
$window = getFrame('main'); | $window = getFrame('main'); | ||||
} | } | ||||
$window.top.document.title = (main_title.length ? main_title + ' - ' : '') + $title; | $window.top.document.title = $title; | ||||
} | |||||
if ( $modal_windows ) { | if ( $modal_windows ) { | ||||
$window.TB.setWindowTitle(''); | $window.TB.setWindowTitle(''); | ||||
} | } | ||||
} | } | ||||
function set_filter($prefix_special, $filter_id, $filter_value, $ajax) { | function set_filter($prefix_special, $filter_id, $filter_value, $ajax) { | ||||
set_form($prefix_special, $ajax); | set_form($prefix_special, $ajax); | ||||
▲ Show 20 Lines • Show All 1035 Lines • Show Last 20 Lines |