Changeset b9ce92d in github


Ignore:
Timestamp:
Mar 15, 2012 2:33:17 PM (14 months ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
9e2c949
Parents:
a621a9d
Message:
  • Fix lack of warning when switching task in compose window (#1488399)
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r6699a68 rb9ce92d  
    22=========================== 
    33 
     4- Fix lack of warning when switching task in compose window (#1488399) 
    45- Fix bug where it wasn't possible to enter ( or & characters in autocomplete fields 
    56- Request all needed fields from address book backends (#1488394) 
  • program/include/rcube_template.php

    rfc7b5b8 rb9ce92d  
    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)) { 
  • program/js/app.js

    r6699a68 rb9ce92d  
    176176 
    177177    // enable general commands 
    178     this.enable_command('logout', 'mail', 'addressbook', 'settings', 'save-pref', 'compose', 'undo', 'about', true); 
     178    this.enable_command('logout', 'mail', 'addressbook', 'settings', 'save-pref', 'compose', 'undo', 'about', 'switch-task', true); 
    179179 
    180180    if (this.env.permaurl) 
Note: See TracChangeset for help on using the changeset viewer.