Ignore:
Timestamp:
Mar 15, 2012 2:33:17 PM (14 months ago)
Author:
alec
Message:
  • Fix lack of warning when switching task in compose window (#1488399)
File:
1 edited

Legend:

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

    r5851 r6012  
    937937            if (in_array($attrib['command'], rcmail::$main_tasks)) { 
    938938                $attrib['href'] = rcmail_url(null, null, $attrib['command']); 
    939                 $attrib['onclick'] = sprintf("%s.switch_task('%s');return false", JS_OBJECT_NAME, $attrib['command']); 
     939                $attrib['onclick'] = sprintf("%s.command('switch-task','%s');return false", JS_OBJECT_NAME, $attrib['command']); 
    940940            } 
    941941            else if ($attrib['task'] && in_array($attrib['task'], rcmail::$main_tasks)) { 
Note: See TracChangeset for help on using the changeset viewer.