Changeset 4d0413d in github


Ignore:
Timestamp:
Sep 19, 2007 2:48:18 AM (6 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
84d06ed
Parents:
5eee009
Message:

Unlock interface when message sending fails (#1484570)

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r5eee009 r4d0413d  
    22--------------------------- 
    33 
    4 2007/09/18 (thomasb) 
    5 ---------- 
     42007/09/19 (thomasb) 
     5---------- 
     6- Unlock interface when message sending fails (#1484570) 
    67- Eval PHP code in template includes (if configured) 
    78- Show message when folder is empty. Mo more static text in table (#1484395) 
  • program/include/rcmail_template.inc

    r5eee009 r4d0413d  
    243243  function write($template='') 
    244244  { 
     245    // unlock interface after iframe load 
     246    if ($this->framed) 
     247      array_unshift($this->js_commands, array('set_busy', false)); 
     248     
    245249    // write all env variables to client 
    246250    $js = $this->framed ? "if(window.parent) {\n" : ''; 
     
    306310  { 
    307311    $out = ''; 
    308     if (!$this->framed) 
     312    if (!$this->framed && !empty($this->js_env)) 
    309313      $out .= ($this->ajax_call ? 'this' : JS_OBJECT_NAME) . '.set_env('.json_serialize($this->js_env).");\n"; 
    310314     
  • program/js/app.js

    r5eee009 r4d0413d  
    805805        var form = this.gui_objects.messageform; 
    806806        form.target = "savetarget"; 
     807        form._draft.value = '1'; 
    807808        form.submit(); 
    808809        break; 
Note: See TracChangeset for help on using the changeset viewer.