Bug #18675 ยป broken_shortcuts.diff
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;
|
||
}
|