PageReloads: Difference between revisions

From Request Tracker Wiki
Jump to navigation Jump to search
m (2 revisions imported)
 
(No difference)

Latest revision as of 15:20, 6 April 2016

Page Reloads

  • Some users don't like it when their page reloads (especially with a large ticket when the page reloads and refocusses to the top).

What to do

  • Remove the ONLOAD clause from the 'Header' file
  • Or comment it out
<BODY BGCOLOR="<%$BgColor%>"
%# if ($Focus) {
% if (0) {
ONLOAD="
   var tmp = (document.getElementsByName('<% $Focus %>'));
   if (tmp.length > 0) tmp[tmp.length-1].focus();
"
% }
>