Changeset e0896df in github


Ignore:
Timestamp:
Aug 27, 2009 3:37:15 AM (4 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
0816567
Parents:
85c812a
Message:

Reset pressed buttons on next click (#1485987)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r4b20e28 re0896df  
    22=========================== 
    33 
     4- Unselect pressed buttons on mouse up (#1485987) 
    45- Don't set php_value error_log in .htaccess but mention in INSTALL (#1485924) 
    56- Fix too small status/flag/attachment columns in Safari 4 (#1486063) 
  • program/js/app.js

    r141c9e7 re0896df  
    2323  this.labels = new Object(); 
    2424  this.buttons = new Object(); 
     25  this.buttons_sel = new Object(); 
    2526  this.gui_objects = new Object(); 
    2627  this.gui_containers = new Object(); 
     
    12581259      list.draglayer.hide(); 
    12591260    } 
     1261     
     1262    // reset 'pressed' buttons 
     1263    if (this.buttons_sel) { 
     1264      for (var id in this.buttons_sel) 
     1265        if (typeof id != 'function') 
     1266          this.button_out(this.buttons_sel[id], id); 
     1267      this.buttons_sel = {}; 
     1268    } 
    12601269  }; 
    12611270 
     
    35473556            elm.className = button.sel; 
    35483557        } 
     3558        this.buttons_sel[id] = command; 
    35493559      } 
    35503560    } 
Note: See TracChangeset for help on using the changeset viewer.