aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/qml
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/assets/qml')
-rw-r--r--ethereal/assets/qml/webapp.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/ethereal/assets/qml/webapp.qml b/ethereal/assets/qml/webapp.qml
index c0df0b66e..4bac12ef0 100644
--- a/ethereal/assets/qml/webapp.qml
+++ b/ethereal/assets/qml/webapp.qml
@@ -60,6 +60,7 @@ ApplicationWindow {
var tx = eth.transact(data.args[0], data.args[1], data.args[2],data.args[3],data.args[4],data.args[5])
postData(data._seed, tx)
+
break
case "create":
postData(data._seed, null)
@@ -91,6 +92,12 @@ ApplicationWindow {
require(1)
postData(data._seed, null)
break;
+ case "set":
+ for(var key in data.args) {
+ if(webview.hasOwnProperty(key)) {
+ window[key] = data.args[key];
+ }
+ }
}
} catch(e) {
console.log(data.call + ": " + e)
@@ -117,6 +124,8 @@ ApplicationWindow {
function onObjectChangeCb(stateObject) {
postEvent("object:"+stateObject.address(), stateObject)
}
+ function onStorageChangeCb() {
+ }
}
Rectangle {