mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 426104 - drag and drop of separators copies them instead of moving (for mak77@supereva.it, r=dietrich)
This commit is contained in:
parent
b71cea2932
commit
f1155db872
@ -369,7 +369,10 @@ var PlacesUIUtils = {
|
||||
case PlacesUtils.TYPE_X_MOZ_PLACE_SEPARATOR:
|
||||
// There is no data in a separator, so copying it just amounts to
|
||||
// inserting a new separator.
|
||||
return this.ptm.createSeparator(container, index);
|
||||
if (copy)
|
||||
return this.ptm.createSeparator(container, index);
|
||||
// Move the separator otherwise
|
||||
return this.ptm.moveItem(data.id, container, index);
|
||||
break;
|
||||
default:
|
||||
if (type == PlacesUtils.TYPE_X_MOZ_URL || type == PlacesUtils.TYPE_UNICODE) {
|
||||
|
Loading…
Reference in New Issue
Block a user