Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
222bfb55
Commit
222bfb55
authored
Jun 24, 2016
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5ee7ba8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
TxBrowser.js
src/TxBrowser.js
+2
-6
No files found.
src/TxBrowser.js
View file @
222bfb55
...
@@ -54,10 +54,6 @@ TxBrowser.prototype.submit = function () {
...
@@ -54,10 +54,6 @@ TxBrowser.prototype.submit = function () {
}
}
}
}
TxBrowser
.
prototype
.
updateTxhash
=
function
(
ev
)
{
this
.
hash
=
ev
.
target
.
value
}
TxBrowser
.
prototype
.
updateBlockN
=
function
(
ev
)
{
TxBrowser
.
prototype
.
updateBlockN
=
function
(
ev
)
{
this
.
blockNumber
=
ev
.
target
.
value
this
.
blockNumber
=
ev
.
target
.
value
}
}
...
@@ -69,8 +65,8 @@ TxBrowser.prototype.updateTxN = function (ev) {
...
@@ -69,8 +65,8 @@ TxBrowser.prototype.updateTxN = function (ev) {
TxBrowser
.
prototype
.
render
=
function
()
{
TxBrowser
.
prototype
.
render
=
function
()
{
var
self
=
this
var
self
=
this
var
view
=
yo
`<div style=
${
ui
.
formatCss
(
style
.
container
)}
>
var
view
=
yo
`<div style=
${
ui
.
formatCss
(
style
.
container
)}
>
<input onchange=
${
this
.
updateBlockN
}
type='text' placeholder=
${
'Block number (default 1000110)'
+
this
.
blockNumber
}
></input>
<input onchange=
${
function
()
{
self
.
updateBlockN
(
arguments
[
0
])
}
} type='text' placeholder=
${
'Block number (default 1000110)'
+
this
.
blockNumber
}
></input>
<input onchange=
${
this
.
updateTxN
}
type='text' value=
${
this
.
txNumber
}
placeholder=
${
'Transaction Number or hash (default 2) '
+
this
.
txNumber
}
></input>
<input onchange=
${
function
()
{
self
.
updateTxN
(
arguments
[
0
])
}
} type='text' value=
${
this
.
txNumber
}
placeholder=
${
'Transaction Number or hash (default 2) '
+
this
.
txNumber
}
></input>
<button onclick=
${
function
()
{
self
.
submit
()
}
}>
<button onclick=
${
function
()
{
self
.
submit
()
}
}>
Get
Get
</button>
</button>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment