Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit 9f8386a

Browse files
committed
CR
1 parent 21e66da commit 9f8386a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ and _newItem.component.html_
119119
ri-draggable
120120
[dragZone]="treeModel.configuration.dragZone"
121121
[dropConfig]="{dropAllowedCssClass: 'drop-enabled', dropZone: treeModel.configuration.dropZone}"
122-
[node]="node"
122+
[data]="node"
123123
>
124124
<div class="col-sm-8">
125125
<i *ngIf="!isExpanded" (click)="expand()" class="fa fa-plus pointer"></i>

src/dragAndDrop/dragAndDrop.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export class DragAndDrop {
1717
});
1818
}
1919

20-
public dragStart(dragE: IDragElement) {
21-
this.dragStream$.next(dragE);
20+
public dragStart(dragElement: IDragElement) {
21+
this.dragStream$.next(dragElement);
2222
}
2323

2424
public dragEnd(dropElement: IDropElement | null) {

src/dragAndDrop/draggable.directive.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export class DraggableDirective implements OnInit {
3434
}
3535

3636
public ngOnInit() {
37-
// this.dragEnabled = !this.data.tree.configuration.disableMoveNodes;
3837
this.el.nativeElement.draggable = this.dragEnabled;
3938

4039
if (!this.data) {

0 commit comments

Comments
 (0)