This topic is locked

Ajax preview appears too quickly

4/13/2010 7:59:56 AM
PHPRunner General questions
M
marke author

Hi
I am transferring my application from PHPrunner 5.0 to 5.2. The solution previously provided for delaying the preview page was:

find and edit this code in ajaxsuggest.js:

this.timeout = setTimeout(function()

{

masterDetails.flag = str;

masterDetails.show = true;

masterDetails.counter++;

$.get(str,

{

counter: masterDetails.counter,

rndVal: (new Date().getTime())

},

function(txt)

{

if (!masterDetails.show) return;

var str = txt.split("counterSeparator");

if ( masterDetails.counter == str[1] )

$("#master_details").html(str[0]);

setLyr(obj,"master_details");

$("#master_details").css("display", "block");

var preview = $("#master_details").get(0);
Left_Top(preview);
});

},200);

}


This doesn't appear to work for 5.2. I have tried various values instead of 200 - no impact observed
regards
Mark

M
marke author 4/15/2010

Anybody have this fix working for 5.2