mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Show mouse scroll icon if only there's scroll left-right available on vfsPath container
This commit is contained in:
parent
afdafc1385
commit
f33ed6b100
@ -295,6 +295,16 @@ var et2_vfsPath = (function(){ "use strict"; return et2_vfsName.extend(
|
||||
var delta = e.originalEvent.deltaY > 0 ? 30 : -30;
|
||||
this.scrollLeft = this.scrollLeft - delta;
|
||||
});
|
||||
this.span.on('mouseover', function (e){
|
||||
if (this.scrollWidth > this.clientWidth)
|
||||
{
|
||||
jQuery(this).addClass('scrollable');
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery(this).removeClass('scrollable');
|
||||
}
|
||||
});
|
||||
this.input.on('focus', function() {
|
||||
this.input.val(this.options.value);
|
||||
this.span.hide();
|
||||
|
@ -980,6 +980,8 @@ div.et2_vfsPath li {
|
||||
padding-top: 6px;
|
||||
color: #26537C;
|
||||
border-radius: 5px 0px 0px 5px;
|
||||
}
|
||||
div.et2_vfsPath ul.scrollable li {
|
||||
cursor: url(images/mouse_scroll_lr.svg) 20 1 , pointer;
|
||||
}
|
||||
li.vfsPath.et2_clickable:last-child:hover {
|
||||
|
Loading…
Reference in New Issue
Block a user