Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: chrome/browser/resources/ntp4/trash.js

Issue 7776001: ntp4: improved app install, try 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove #app-id altogether Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/ntp4/trash.js
diff --git a/chrome/browser/resources/ntp4/trash.js b/chrome/browser/resources/ntp4/trash.js
index 4db841db50b3b226c406ed7eed5ec8ab8cf7d27b..3fad9df468a78512a472f09ca0fd0f9c31ea7735 100644
--- a/chrome/browser/resources/ntp4/trash.js
+++ b/chrome/browser/resources/ntp4/trash.js
@@ -63,8 +63,10 @@ cr.define('ntp4', function() {
e.preventDefault();
var tile = ntp4.getCurrentlyDraggingTile();
+ var page = tile.tilePage;
tile.firstChild.removeFromChrome();
tile.landedOnTrash = true;
+ page.cleanupDrag();
},
/**

Powered by Google App Engine
This is Rietveld 408576698