BUG 9281 In a case the legend information on Information-Process Map seems... SOLVED

- Change the width and height for the legends panels
This commit is contained in:
Julio Cesar Laura
2012-07-10 12:21:57 -04:00
parent bb958e4c4f
commit 38f0df196d
2 changed files with 139 additions and 139 deletions

View File

@@ -77,16 +77,16 @@
ct : true,
hideMenu : false
}
pm.make();
///////
var pnlLegend = new leimnud.module.panel();
pnlLegend.options = {
size: {w: 160, h: 140},
size: {w: 260, h: 140},
position: {
x: ((document.body.clientWidth * 95) / 100) - ((document.body.clientWidth * 95) / 100 - (((document.body.clientWidth * 95) / 100) - 160)),
x: ((document.body.clientWidth * 95) / 100) - ((document.body.clientWidth * 95) / 100 - (((document.body.clientWidth * 95) / 100) - 260)),
y: 175,
center: false
},
@@ -96,29 +96,29 @@
control: {resize: false, roll: false, drag: true, close: false},
fx: {modal: false, opacity: false, blinkToFront: true, fadeIn: false, drag: false}
};
pnlLegend.setStyle = {
content: {overflow: "hidden"}
};
pnlLegend.events = {
remove: function () { delete(pnlLegend); }.extend(this)
};
pnlLegend.make();
pnlLegend.loader.show();
///////
var rpcRequest = new leimnud.module.rpc.xmlhttp({
url : "tracker_Ajax",
args: "action=processMapLegend"
});
rpcRequest.callback = function (rpc) {
pnlLegend.loader.hide();
pnlLegend.addContent(rpc.xmlhttp.responseText);
}.extend(this);
rpcRequest.make();
});');
G::RenderPage('publish');