Skip to content

Commit

Permalink
Added links emulation in grid
Browse files Browse the repository at this point in the history
  • Loading branch information
execut committed Mar 29, 2018
1 parent 2ca6d8b commit 59c9304
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions widgets/assets/GridView.js
Expand Up @@ -10,10 +10,6 @@
var t = this,
el = t.element;
if (typeof t.options.updateUrl !== 'undefined') {
el.find('tr[data-id]').mousemove(function (e) {
t._moveStarted = true;
});

el.find('tr[data-id]').mousedown(function (e) {
if (e.originalEvent.button == 0) {
t._moveStarted = false;
Expand All @@ -35,7 +31,7 @@
});

el.find('tr[data-id]').click(function (e) {
if (t._moveStarted) {
if (window.getSelection().toString().length) {
return false;
}

Expand Down

0 comments on commit 59c9304

Please sign in to comment.