Project

General

Profile

Bug #18675 ยป broken_shortcuts.diff

Administrator Admin, 2008-04-23 01:23

View differences:

typo3/js/backend.js (working copy)
createShortcut: function(confirmQuestion, backPath, moduleName, url) {
if(confirm(confirmQuestion)) {
if(typeof TYPO3BackendShortcutMenu != 'undefined') {
TYPO3BackendShortcutMenu.createShortcut(backPath, moduleName, url);
// backend.php
TYPO3BackendShortcutMenu.createShortcut('', moduleName, url);
}
if(top.shortcutFrame) {
// alt_main.php
var location = backPath + 'alt_shortcut.php?modName=' + moduleName + '&URL=' + url;
shortcutFrame.location.href = location;
}
    (1-1/1)