Changeset 1ce4420 in github


Ignore:
Timestamp:
Dec 16, 2010 4:26:30 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
02491a9
Parents:
9840ab6
Message:
  • When clicking on the list take the focus away from an iframe too
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/js/list.js

    r489ffbd r1ce4420  
    111111    row.onmousedown = function(e){ return self.drag_row(e, this.uid); }; 
    112112    row.onmouseup = function(e){ return self.click_row(e, this.uid); }; 
    113      
     113 
    114114    if (bw.iphone || bw.ipad) { 
    115115      row.addEventListener('touchstart', function(e) { 
     
    225225  // Un-focus already focused elements 
    226226  $('*:focus', window).blur(); 
     227  $('iframe').each(function() { this.blur(); }); 
    227228 
    228229  if (e || (e = window.event)) 
     
    700701  var new_row = (next_row) ? next_row : prev_row; 
    701702  if (new_row) 
    702     this.select_row(new_row.uid, false, false);   
     703    this.select_row(new_row.uid, false, false); 
    703704}, 
    704705 
     
    729730    this.shift_select(row, mod_key); 
    730731    this.triggerEvent('select'); 
    731     this.scrollto(row);     
     732    this.scrollto(row); 
    732733  } 
    733734  else if (row) 
Note: See TracChangeset for help on using the changeset viewer.