@ -30,7 +30,7 @@ function ButtonNavigator (_parent, _traceManager) {
if ( this . currentCall . reverted ) {
if ( this . currentCall . reverted ) {
this . revertionPoint = this . currentCall . return
this . revertionPoint = this . currentCall . return
this . view . querySelector ( '#reverted' ) . style . display = 'block'
this . view . querySelector ( '#reverted' ) . style . display = 'block'
this . view . querySelector ( '#reverted #outofgas' ) . style . display = this . currentCall . outOfGas ? 'block ' : 'none'
this . view . querySelector ( '#reverted #outofgas' ) . style . display = this . currentCall . outOfGas ? 'inline ' : 'none'
this . view . querySelector ( '#reverted #parenthasthrown' ) . style . display = 'none'
this . view . querySelector ( '#reverted #parenthasthrown' ) . style . display = 'none'
} else {
} else {
var k = callsPath . length - 2
var k = callsPath . length - 2
@ -39,7 +39,7 @@ function ButtonNavigator (_parent, _traceManager) {
if ( parent . reverted ) {
if ( parent . reverted ) {
this . revertionPoint = parent . return
this . revertionPoint = parent . return
this . view . querySelector ( '#reverted' ) . style . display = 'block'
this . view . querySelector ( '#reverted' ) . style . display = 'block'
this . view . querySelector ( '#reverted #parenthasthrown' ) . style . display = parent ? 'block ' : 'none'
this . view . querySelector ( '#reverted #parenthasthrown' ) . style . display = parent ? 'inline ' : 'none'
this . view . querySelector ( '#reverted #outofgas' ) . style . display = 'none'
this . view . querySelector ( '#reverted #outofgas' ) . style . display = 'none'
return
return
}
}
@ -72,11 +72,11 @@ ButtonNavigator.prototype.render = function () {
< button id = 'jumpout' title = 'jump out' class = 'fa fa-share' style = $ { ui . formatCss ( style . button ) } onclick = $ { function ( ) { self . event . trigger ( 'jumpOut' ) } } disabled = $ { this . jumpOutDisabled } >
< button id = 'jumpout' title = 'jump out' class = 'fa fa-share' style = $ { ui . formatCss ( style . button ) } onclick = $ { function ( ) { self . event . trigger ( 'jumpOut' ) } } disabled = $ { this . jumpOutDisabled } >
< / b u t t o n >
< / b u t t o n >
< div id = 'reverted' style = "display:none" >
< div id = 'reverted' style = "display:none" >
< span > State changes made during this call were reverted . < / s p a n >
< span id = 'outofgas' style = "display:none" > This call ran out of gas < / s p a n >
< span id = 'parenthasthrown' style = "display:none" > The parent call has trown an exception < / s p a n >
< button id = 'jumptoexception' title = 'jump to exception' class = 'fa fa-exclamation-triangle' style = $ { ui . formatCss ( style . button ) } onclick = $ { function ( ) { self . event . trigger ( 'jumpToException' , [ self . revertionPoint ] ) } } disabled = $ { this . jumpOutDisabled } >
< button id = 'jumptoexception' title = 'jump to exception' class = 'fa fa-exclamation-triangle' style = $ { ui . formatCss ( style . button ) } onclick = $ { function ( ) { self . event . trigger ( 'jumpToException' , [ self . revertionPoint ] ) } } disabled = $ { this . jumpOutDisabled } >
< / b u t t o n >
< / b u t t o n >
< span > State changes made during this call will be reverted . < / s p a n >
< span id = 'outofgas' style = "display:none" > This call will run out of gas . < / s p a n >
< span id = 'parenthasthrown' style = "display:none" > The parent call will throw an exception < / s p a n >
< / d i v >
< / d i v >
< / d i v > `
< / d i v > `
if ( ! this . view ) {
if ( ! this . view ) {