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

Unified Diff: include.postload.js

Issue 4767690782670848: Issue 2466 - Disable element selection in all frames when showing "Block element" dialog (Closed)
Patch Set: Created May 7, 2015, 3:34 p.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
@@ -265,10 +265,6 @@
// from selected page element
function clickHide_showDialog(filters)
{
- // If we are already selecting, abort now
- if (clickHide_activated)
- clickHide_rulesPending();
-
clickHide_filters = filters;
clickHideFiltersDialog = document.createElement("iframe");
@@ -742,6 +738,7 @@
clickHide_deactivate();
break;
case "clickhide-show-dialog":
+ clickHide_rulesPending();
if (window.self == window.top)
clickHide_showDialog(msg.clickHideFilters);
break;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld