mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
on startup, init the inspector's fields to 'N/A' where appropriate
This commit is contained in:
parent
819f453088
commit
97c80f76db
1 changed files with 8 additions and 0 deletions
|
@ -487,6 +487,14 @@ function Inspector(controller) {
|
||||||
data.elements.uploaded = $(ti+'uploaded')[0];
|
data.elements.uploaded = $(ti+'uploaded')[0];
|
||||||
data.elements.upload_speed = $(ti+'upload_speed')[0];
|
data.elements.upload_speed = $(ti+'upload_speed')[0];
|
||||||
data.elements.upload_to = $(ti+'upload_to')[0];
|
data.elements.upload_to = $(ti+'upload_to')[0];
|
||||||
|
|
||||||
|
// force initial 'N/A' updates on all the pages
|
||||||
|
updateInspector();
|
||||||
|
updateInfoPage();
|
||||||
|
updateActivityPage();
|
||||||
|
updatePeersPage();
|
||||||
|
updateTrackersPage();
|
||||||
|
updateFilesPage();
|
||||||
};
|
};
|
||||||
|
|
||||||
/****
|
/****
|
||||||
|
|
Loading…
Reference in a new issue