* bug #14554, fix refresh help app not work.

This commit is contained in:
Hao Sun
2021-08-23 16:09:44 +08:00
parent 39db8d04f3
commit f523673d71
3 changed files with 11 additions and 9 deletions
+3 -3
View File
@@ -17,9 +17,9 @@
{
code: 'help',
icon: 'icon-help',
url: $helpLink.attr('href'),
url: manualUrl || $helpLink.attr('href'),
external: true,
text: $helpLink.text(),
text: manualText || $helpLink.text(),
appUrl: config.webRoot + '#app=help'
};
var $menuMainNav = $('#menuMainNav').empty();
@@ -400,7 +400,7 @@
}
catch(_)
{
iframe.src = url || app.url;
iframe.src = url || app.url || iframe.src;
}
}
+5 -3
View File
@@ -14,10 +14,12 @@ include '../../common/view/header.lite.html.php';
$this->app->loadConfig('sso');
if(!empty($config->sso->redirect)) js::set('ssoRedirect', $config->sso->redirect);
js::set('navGroup', $lang->navGroup);
js::set('appsLang', $lang->index->app);
js::set('navGroup', $lang->navGroup);
js::set('appsLang', $lang->index->app);
js::set('appsMenuItems', commonModel::getMainNavList($app->rawModule));
js::set('defaultOpen', $open);
js::set('defaultOpen', $open);
js::set('manualText', $lang->manual);
js::set('manualUrl', ((!empty($config->isINT)) ? $config->manualUrl['int'] : $config->manualUrl['home']) . '&theme=' . $_COOKIE['theme']);
?>
<style>
#versionTitle {margin: 8px 3px 0px 0px; background-image: url(<?php echo $config->webRoot . 'theme/default/images/main/version-upgrade.svg';?>);}
+3 -3
View File
File diff suppressed because one or more lines are too long