Aleksander Machniak
2014-11-20 0b36d151572e050b51d82e7429fee847ebb33e22
program/js/list.js
@@ -131,7 +131,7 @@
  }
  if (this.parent_focus) {
    this.list.parentNode.onclick = function(e) { me.focus(e); };
    this.list.parentNode.onclick = function(e) { me.focus(); };
  }
  return this;
@@ -150,9 +150,9 @@
    var self = this, uid = row.uid;
    this.rows[uid] = {uid:uid, id:row.id, obj:row};
    // set eventhandlers to table row
    // set eventhandlers to table row (only left-button-clicks in mouseup)
    row.onmousedown = function(e){ return self.drag_row(e, this.uid); };
    row.onmouseup = function(e){ return self.click_row(e, this.uid); };
    row.onmouseup = function(e){ if (e.which == 1) return self.click_row(e, this.uid); };
    if (bw.touch) {
      row.addEventListener('touchstart', function(e) {