diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-22 21:59:52 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-22 21:59:52 +0800 |
commit | e32f7baa0d5d949a84a3b29c57220f837eae356a (patch) | |
tree | e72da9048605b8b3aa1679f1371cdc32d15b185f /cmd/mist/assets/qml/browser.qml | |
parent | 60b1f9629cf422c4ea2244f673b90553407f1276 (diff) | |
download | dexon-e32f7baa0d5d949a84a3b29c57220f837eae356a.tar dexon-e32f7baa0d5d949a84a3b29c57220f837eae356a.tar.gz dexon-e32f7baa0d5d949a84a3b29c57220f837eae356a.tar.bz2 dexon-e32f7baa0d5d949a84a3b29c57220f837eae356a.tar.lz dexon-e32f7baa0d5d949a84a3b29c57220f837eae356a.tar.xz dexon-e32f7baa0d5d949a84a3b29c57220f837eae356a.tar.zst dexon-e32f7baa0d5d949a84a3b29c57220f837eae356a.zip |
Concat and pad data
Diffstat (limited to 'cmd/mist/assets/qml/browser.qml')
-rw-r--r-- | cmd/mist/assets/qml/browser.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/mist/assets/qml/browser.qml b/cmd/mist/assets/qml/browser.qml index 867260507..1425f60c0 100644 --- a/cmd/mist/assets/qml/browser.qml +++ b/cmd/mist/assets/qml/browser.qml @@ -59,7 +59,8 @@ Rectangle { } Component.onCompleted: { - webview.url = "http://etherian.io" + //webview.url = "http://etherian.io" + webview.url = "file:///Users/jeffrey/test.html" } signal messages(var messages, int id); @@ -350,7 +351,7 @@ Rectangle { for(var i = 0; i < fields.length; i++) { params[fields[i]] = params[fields[i]] || ""; } - if(typeof params.payload === "object") { params.payload = params.payload.join(""); } + if(typeof params.payload !== "object") { params.payload = [params.payload]; } //params.payload = params.payload.join(""); } params.topics = params.topics || []; params.priority = params.priority || 1000; params.ttl = params.ttl || 100; |