BUG 7492 Fix loadPage() function in gulliver/js/common/core/common.js

The problem was solved changed the code source
This commit is contained in:
Douglas Medrano Chura
2011-08-29 17:24:11 -04:00
parent 4b4e423adb
commit 311d157207

View File

@@ -707,7 +707,7 @@ function showHideSearch(id,aElement,openText,closeText)
* and execute the javascript node that it contains. * and execute the javascript node that it contains.
*/ */
function loadPage ( url, x, y , visibility , div ) { function loadPage ( url, x, y , visibility , div ) {
visibility = typeof(visibility)==='udefined'?'hidden':visibility; visibility = typeof(visibility)==='undefined'?'hidden':visibility;
var r = new leimnud.module.rpc.xmlhttp({url:url}); var r = new leimnud.module.rpc.xmlhttp({url:url});
r.callback=leimnud.closure({Function:function(rpc,div){ r.callback=leimnud.closure({Function:function(rpc,div){
if (typeof(div)==='undefined') div=createDiv(''); if (typeof(div)==='undefined') div=createDiv('');