Fix the buttons data (which is ugly, to tell the truth)
This commit is contained in:
parent
07e0112ad6
commit
b4e3b8f0c7
@ -483,7 +483,7 @@ class Indicator extends PanelMenu.Button {
|
|||||||
entry [ _col.name ] = '';
|
entry [ _col.name ] = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
infoBox.add_child ( this.createBin ( entry.status, entry [ _col.name ], _col.size, column_definitions [ _col.name ] ) );
|
infoBox.add_child ( this.createBin ( entry.status, ( _col.name == 'actions' ? entry : entry [ _col.name ] ), _col.size, column_definitions [ _col.name ] ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
_row ++;
|
_row ++;
|
||||||
@ -569,7 +569,7 @@ class Indicator extends PanelMenu.Button {
|
|||||||
_onRecheckButtonClick ( e )
|
_onRecheckButtonClick ( e )
|
||||||
{
|
{
|
||||||
this.spinChildOf ( e );
|
this.spinChildOf ( e );
|
||||||
// monitoLog ( JSON.stringify ( e.service ) );
|
// monitoLog ( JSON.stringify ( e ) );
|
||||||
e.service.button = e;
|
e.service.button = e;
|
||||||
|
|
||||||
this.serverLogic.recheck ( e.service );
|
this.serverLogic.recheck ( e.service );
|
||||||
|
Loading…
Reference in New Issue
Block a user