Added a $ sign at the end of the regular expression and fixed indenting in the new...
[Packages/TYPO3.CMS.git] / typo3 / alt_shortcut.php
index fd54c59..f88c3be 100755 (executable)
@@ -262,6 +262,9 @@ class SC_alt_shortcut {
                        function changeWorkspacePreview(newstate)       {       //
                                window.location.href="alt_shortcut.php?changeWorkspacePreview="+newstate;
                        }
+                       function refreshShortcuts() { 
+                               window.location.href = document.URL;
+                       }
 
                        ');
                $this->content.=$this->doc->startPage('Shortcut frame');