Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: include.postload.js

Issue 6609231193047040: Noissue - Removed dead code passing coordinates for "Block elements" dialog (Closed)
Patch Set: Created March 27, 2015, 11:12 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include.postload.js
===================================================================
--- a/include.postload.js
+++ b/include.postload.js
@@ -250,7 +250,7 @@
// Show dialog asking user whether she wants to add the proposed filters derived
// from selected page element
-function clickHide_showDialog(left, top, filters)
+function clickHide_showDialog(filters)
{
// If we are already selecting, abort now
if (clickHide_activated)
@@ -530,8 +530,6 @@
payload:
{
type: "clickhide-show-dialog",
- screenX: e.screenX,
- screenY: e.screenY,
clickHideFilters: filters
}
});
@@ -727,9 +725,7 @@
break;
case "clickhide-show-dialog":
if (window.self == window.top)
- clickHide_showDialog(msg.screenX + window.pageXOffset,
- msg.screenY + window.pageYOffset,
- msg.clickHideFilters);
+ clickHide_showDialog(msg.clickHideFilters);
break;
case "clickhide-clear-last-right-click-event":
if (lastRightClickEventValid)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld