@@ -120,10 +120,11 @@ Ethplorer = {
120
120
oOperation . type = 'Issuance' ;
121
121
}
122
122
123
- if ( 'undefined' !== typeof ( oOperation . value ) ) {
123
+ if ( 'undefined' !== typeof ( oOperation . formatted ) ) {
124
124
oOperation . value = Ethplorer . Utils . toBig ( oOperation . value ) . div ( Math . pow ( 10 , oToken . decimals ) ) ;
125
125
oOperation . value = Ethplorer . Utils . formatNum ( oOperation . value , true , oToken . decimals , true ) ;
126
126
oOperation . value = oToken . symbol ? ( oOperation . value + ' ' + oToken . symbol ) : oOperation . value ;
127
+ oOperation . formatted = true ;
127
128
}
128
129
129
130
titleAdd += oOperation . type ;
@@ -257,7 +258,7 @@ Ethplorer = {
257
258
txData . operation = txData . operations [ txData . operations . length - 1 ] ;
258
259
var multiop = txData . operations . length > 1 ;
259
260
for ( var i = 0 ; i < txData . operations . length ; i ++ ) {
260
- var idx = i ; // txData.operations.length - i - 1;
261
+ var idx = i ;
261
262
var op = txData . operations [ idx ] ;
262
263
var pos = ( 'undefined' !== typeof ( op . priority ) ) ? op . priority : idx ;
263
264
op . index = idx ;
@@ -315,7 +316,7 @@ Ethplorer = {
315
316
}
316
317
if ( multiop ) {
317
318
$ ( '.multiop table tr' ) . addClass ( 'selectable' ) ;
318
- $ ( '.multiop table tr:eq(0)' ) . removeClass ( 'selectable' ) . addClass ( 'blue' ) ;
319
+ $ ( '.multiop table tr:eq(0)' ) . removeClass ( 'selectable' ) . addClass ( 'blue' ) ;
319
320
$ ( '.multiop .block-header h3' ) . text ( txData . operations . length + ' internal operations found' ) ;
320
321
$ ( '.multiop' ) . show ( ) ;
321
322
}
@@ -377,6 +378,8 @@ Ethplorer = {
377
378
el . removeClass ( 'selectable' ) ;
378
379
Ethplorer . showOpDetails ( txData . tx , el [ 0 ] . operation ) ;
379
380
}
381
+ } else if ( multiop ) {
382
+ Ethplorer . showOpDetails ( oTx , txData . operations [ 0 ] ) ;
380
383
}
381
384
382
385
Ethplorer . Utils . hideEmptyFields ( ) ;
0 commit comments