on startup, init the inspector's fields to 'N/A' where appropriate

This commit is contained in:
Jordan Lee
2011-09-15 03:13:50 +00:00
parent 819f453088
commit 97c80f76db

View File

@@ -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();
}; };
/**** /****