Skip to content

Commit

Permalink
Merge branch 'patch-2' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam committed Jun 16, 2017
2 parents 216ecd0 + 76e5265 commit 3dccee3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ $('.dd').nestable({
});
```

`onDragStart` callback provided as an option is fired when user starts to drag an element.
`onDragStart` callback provided as an option is fired when user starts to drag an element. Returning `false` from this callback will disable the dragging.
```js
$('.dd').nestable({
onDragStart: function(l,e){
Expand Down Expand Up @@ -289,6 +289,10 @@ These advanced config options are also available:

## Change Log

### 16th June 2017

* [imliam] Added support to return `false` from the `onDragStart` event to disable the drag event

### 28th May 2017

* [pjona] Function `add` support `parent_id` property
Expand Down

0 comments on commit 3dccee3

Please sign in to comment.