Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Console now has admin
Browse files Browse the repository at this point in the history
Fixes #4210
  • Loading branch information
gavofyork committed Jan 19, 2017
1 parent b903195 commit d7aff45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions js/src/dapps/static/console.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
// TODO: Fix linting issues

if (typeof(window.parity) == 'object')
window.api = window.parent.secureApi;
window.parity.api.subscribe('eth_blockNumber', function (error, blockNumber) {
if (error) {
console.log('error', error);
Expand Down
3 changes: 2 additions & 1 deletion js/src/views/Dapps/builtin.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
"description": "A Javascript development console complete with web3 and parity objects.",
"version": "0.3",
"author": "Gav Wood <gavin@ethcore.io>",
"visible": true
"visible": true,
"secure": true
}
]

0 comments on commit d7aff45

Please sign in to comment.