BUG 8021 2.0.35.rc6: No muestra toda la información en "System Information"
This problems was fixed, we are hiding some fields if we've not chosen a workspace.
This commit is contained in:
@@ -42,7 +42,7 @@ function getLangFiles() {
|
||||
if (file_exists ( $dir )) {
|
||||
if ($handle = opendir ( $dir )) {
|
||||
while ( false !== ($file = readdir ( $handle )) ) {
|
||||
|
||||
|
||||
$fileParts = explode ( ".", $file );
|
||||
if ($fileParts [0] == "translation") {
|
||||
$filesArray [$fileParts [1]] = $file;
|
||||
@@ -128,11 +128,20 @@ G::RenderPage ( "publish" );
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
var oInfoPanel;
|
||||
var openInfoPanel = function()
|
||||
{
|
||||
|
||||
// note added by carlos pacha carlos[at]colosa[dot]com pckrlos[at]gmail[dot]com
|
||||
// the following lines of code are getting the hight of panel. Related 8021 bug
|
||||
var hightpnl= 424;
|
||||
var varjs = "<?= isset($_POST['form']['USER_ENV'])?$_POST['form']['USER_ENV']:''; ?>";
|
||||
if(varjs !=' ')
|
||||
hightpnl= 330;
|
||||
|
||||
var oInfoPanel = new leimnud.module.panel();
|
||||
oInfoPanel.options = {
|
||||
size :{w:500,h:424},
|
||||
size :{w:500,h:hightpnl},
|
||||
position:{x:0,y:0,center:true},
|
||||
title :'System Information',
|
||||
theme :'processmaker',
|
||||
@@ -148,13 +157,22 @@ G::RenderPage ( "publish" );
|
||||
backgroundColor: 'white'
|
||||
}};
|
||||
oInfoPanel.make();
|
||||
|
||||
var oRPC = new leimnud.module.rpc.xmlhttp({
|
||||
url : '../login/dbInfo',
|
||||
async : false,
|
||||
//async : false,
|
||||
method: 'POST',
|
||||
args : ''
|
||||
});
|
||||
|
||||
oRPC.callback = function(oRPC) {
|
||||
oInfoPanel.loader.hide();
|
||||
var scs = oRPC.xmlhttp.responseText.extractScript();
|
||||
oInfoPanel.addContent(oRPC.xmlhttp.responseText);
|
||||
scs.evalScript();
|
||||
}.extend(this);
|
||||
|
||||
oRPC.make();
|
||||
oInfoPanel.addContent(oRPC.xmlhttp.responseText);
|
||||
};
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user