aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/qml/webapp.qml
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-14 23:01:37 +0800
committerobscuren <geffobscura@gmail.com>2014-08-14 23:01:37 +0800
commit1fd69e956949671806b23b7ec1feec4f6c416a81 (patch)
treee807a5564dd81c75b550aeb12405d51f3704d125 /ethereal/assets/qml/webapp.qml
parent612b631823c0cb80f0e559c533b32b6890349761 (diff)
downloadgo-tangerine-1fd69e956949671806b23b7ec1feec4f6c416a81.tar.gz
go-tangerine-1fd69e956949671806b23b7ec1feec4f6c416a81.tar.zst
go-tangerine-1fd69e956949671806b23b7ec1feec4f6c416a81.zip
Implemented "messages"
Diffstat (limited to 'ethereal/assets/qml/webapp.qml')
-rw-r--r--ethereal/assets/qml/webapp.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ethereal/assets/qml/webapp.qml b/ethereal/assets/qml/webapp.qml
index a0ec52752..48b410787 100644
--- a/ethereal/assets/qml/webapp.qml
+++ b/ethereal/assets/qml/webapp.qml
@@ -238,6 +238,14 @@ ApplicationWindow {
break;
+ case "messages":
+ require(1);
+
+ var messages = JSON.parse(eth.getMessages(data.args[0]))
+ postData(data._seed, messages)
+
+ break
+
case "debug":
console.log(data.args[0]);
break;