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

Unified Diff: block.js

Issue 29338503: Issue 3823 - Adapt message names used by "Block element" feature for consistency (Closed)
Patch Set: Rebased Created March 19, 2016, 7:41 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 | « background.js ('k') | blockElement.postload.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: block.js
===================================================================
--- a/block.js
+++ b/block.js
@@ -55,7 +55,7 @@
targetPageId: targetPageId,
payload:
{
- type: "blockelement-finished",
+ type: "composer.content.finished",
remove: (typeof success == "boolean" ? success : false)
}
});
@@ -81,11 +81,11 @@
{
switch (msg.type)
{
- case "blockelement-popup-init":
+ case "composer.dialog.init":
targetPageId = msg.sender;
document.getElementById("filters").value = msg.filters.join("\n");
break;
- case "blockelement-close-popup":
+ case "composer.dialog.close":
window.close();
break;
}
« no previous file with comments | « background.js ('k') | blockElement.postload.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld