summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/new_new_tab.js
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-30 18:30:01 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-30 18:30:01 +0000
commit2499fcdb91915021378bd0c29f7109252b661ae7 (patch)
treed9a4b0198f593c0539bf01f0f94eb9146d7dc9ce /chrome/browser/resources/new_new_tab.js
parentc6a5d82465a2039714fb346fa91d5a3ea77fed2f (diff)
downloadchromium_src-2499fcdb91915021378bd0c29f7109252b661ae7.zip
chromium_src-2499fcdb91915021378bd0c29f7109252b661ae7.tar.gz
chromium_src-2499fcdb91915021378bd0c29f7109252b661ae7.tar.bz2
Use dropEffect move now that it works.
BUG=38591 TEST=Drag bookmarks inside the bookmark manager. The move cursor should be shown. Rearrange thumbnails on the new tab page using DnD. The move icon should be used. Review URL: http://codereview.chromium.org/1563003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43114 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/new_new_tab.js')
-rw-r--r--chrome/browser/resources/new_new_tab.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/resources/new_new_tab.js b/chrome/browser/resources/new_new_tab.js
index a41f830..9932cf2 100644
--- a/chrome/browser/resources/new_new_tab.js
+++ b/chrome/browser/resources/new_new_tab.js
@@ -1397,7 +1397,7 @@ var dnd = {
this.dragItem = thumbnail;
addClass(this.dragItem, 'dragging');
this.dragItem.style.zIndex = 2;
- e.dataTransfer.effectAllowed = this.DND_EFFECT;
+ e.dataTransfer.effectAllowed = 'copyLinkMove';
}
},
@@ -1412,7 +1412,7 @@ var dnd = {
this.currentOverItem = item;
if (this.canDropOnElement(item)) {
e.preventDefault();
- e.dataTransfer.dropEffect = this.DND_EFFECT;
+ e.dataTransfer.dropEffect = 'move';
}
},