X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/ViewDropZone.html diff --git a/docs/source/ViewDropZone.html b/docs/source/ViewDropZone.html index 167d57d3..4a4a192d 100644 --- a/docs/source/ViewDropZone.html +++ b/docs/source/ViewDropZone.html @@ -44,7 +44,9 @@ } index = store.indexOf(record); - if (position == 'after') { + + // 'after', or undefined (meaning a drop at index -1 on an empty View)... + if (position !== 'before') { index++; } store.insert(index, data.records);