Commit b14a724ef92386b59c76e74e2fabc83069ec74fe
1 parent
5c6d394f
added full url for help button link
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1083 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
lib/visualpatterns/PatternMainPage.inc
| ... | ... | @@ -181,9 +181,9 @@ class PatternMainPage { |
| 181 | 181 | function getHelpJavaScript() { |
| 182 | 182 | global $default; |
| 183 | 183 | return "\n\n<SCRIPT LANGUAGE=\"javascript\">\n " . |
| 184 | - "<!--\n" . | |
| 184 | + "<!--\n" . | |
| 185 | 185 | "function helpWindow() {\n" . |
| 186 | - "window.open ('$default->uiUrl/help.php?fAction=" . $default->siteMap->getActionFromPage((substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"])))) . "&fSection=" . $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))) . "', 'newwindow', config='height=600,width=800, toolbar=no, menubar=no, scrollbars=no, resizable=true,location=no, directories=no, status=no');\n" . | |
| 186 | + "window.open (' . generateControllerUrl("help",fAction=" . $default->siteMap->getActionFromPage((substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"])))) . "&fSection=" . $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"])))), 'newwindow', config='height=600,width=800, toolbar=no, menubar=no, scrollbars=no, resizable=true,location=no, directories=no, status=no');\n" . | |
| 187 | 187 | "return false;\n" . |
| 188 | 188 | "}\n" . |
| 189 | 189 | "-->\n" . | ... | ... |