Commit 3c63421f authored by yann300's avatar yann300

fix used key

parent 7288f1c1
......@@ -9,7 +9,7 @@ window.onload = function () {
document.querySelector('input#testmessageadd').addEventListener('click', function () {
window.parent.postMessage(JSON.stringify({
action: 'request',
key: 'editor',
key: 'config',
type: 'setConfig',
value: [document.getElementById('filename').value, document.getElementById('valuetosend').value],
id: 34
......@@ -19,7 +19,7 @@ window.onload = function () {
document.querySelector('input#testmessageremove').addEventListener('click', function () {
window.parent.postMessage(JSON.stringify({
action: 'request',
key: 'editor',
key: 'config',
type: 'removeConfig',
value: [document.getElementById('filename').value],
id: 35
......@@ -29,7 +29,7 @@ window.onload = function () {
document.querySelector('input#testmessagerget').addEventListener('click', function () {
window.parent.postMessage(JSON.stringify({
action: 'request',
key: 'editor',
key: 'config',
type: 'getConfig',
value: [document.getElementById('filename').value],
id: 36
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment