mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 18:38:42 +00:00
on startup, init the inspector's fields to 'N/A' where appropriate
This commit is contained in:
@@ -487,6 +487,14 @@ function Inspector(controller) {
|
||||
data.elements.uploaded = $(ti+'uploaded')[0];
|
||||
data.elements.upload_speed = $(ti+'upload_speed')[0];
|
||||
data.elements.upload_to = $(ti+'upload_to')[0];
|
||||
|
||||
// force initial 'N/A' updates on all the pages
|
||||
updateInspector();
|
||||
updateInfoPage();
|
||||
updateActivityPage();
|
||||
updatePeersPage();
|
||||
updateTrackersPage();
|
||||
updateFilesPage();
|
||||
};
|
||||
|
||||
/****
|
||||
|
||||
Reference in New Issue
Block a user