@ -73,6 +73,9 @@ function rcube_list_widget(list, p)
this.dblclick_time=500;// default value on MS Windows is 500
this.dblclick_time=500;// default value on MS Windows is 500
this.row_init=function(){};// @deprecated; use list.addEventListener('initrow') instead
this.row_init=function(){};// @deprecated; use list.addEventListener('initrow') instead
this.pointer_touch_start=0;// start time of the touch event
this.pointer_touch_time=500;// maximum time a touch should be considered a left mouse button event, after this its something else (eg contextmenu event)
// overwrite default paramaters
// overwrite default paramaters
if(p&&typeofp==='object')
if(p&&typeofp==='object')
for(varninp)
for(varninp)
@ -161,7 +164,25 @@ init_row: function(row)
returntrue;
returntrue;
});
});
if(bw.touch&&row.addEventListener){
// for IE and Edge differentiate between touch, touch+hold using pointer events rather than touch