Changeset 6063 in subversion


Ignore:
Timestamp:
Apr 11, 2012 12:19:14 PM (14 months ago)
Author:
thomasb
Message:

Keep improvement from r6060: show 'loading...' message when redirecting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_json_output.php

    r6062 r6063  
    213213    { 
    214214        $location = rcmail::get_instance()->url($p); 
    215         $this->remote_response("window.setTimeout(\"location.href='{$location}'\", $delay);"); 
     215        $this->remote_response(sprintf("window.setTimeout(function(){ %s.redirect('%s',true); }, %d);", JS_OBJECT_NAME, $location, $delay)); 
    216216        exit; 
    217217    } 
Note: See TracChangeset for help on using the changeset viewer.