This repository was archived by the owner on Nov 20, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ and _newItem.component.html_
119
119
ri-draggable
120
120
[dragZone]="treeModel.configuration.dragZone"
121
121
[dropConfig]="{dropAllowedCssClass: 'drop-enabled', dropZone: treeModel.configuration.dropZone}"
122
- [node ]="node"
122
+ [data ]="node"
123
123
>
124
124
<div class="col-sm-8">
125
125
<i *ngIf="!isExpanded" (click)="expand()" class="fa fa-plus pointer"></i>
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ export class DragAndDrop {
17
17
} ) ;
18
18
}
19
19
20
- public dragStart ( dragE : IDragElement ) {
21
- this . dragStream$ . next ( dragE ) ;
20
+ public dragStart ( dragElement : IDragElement ) {
21
+ this . dragStream$ . next ( dragElement ) ;
22
22
}
23
23
24
24
public dragEnd ( dropElement : IDropElement | null ) {
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ export class DraggableDirective implements OnInit {
34
34
}
35
35
36
36
public ngOnInit ( ) {
37
- // this.dragEnabled = !this.data.tree.configuration.disableMoveNodes;
38
37
this . el . nativeElement . draggable = this . dragEnabled ;
39
38
40
39
if ( ! this . data ) {
You can’t perform that action at this time.
0 commit comments