diff options
author | oetting <jacob@oettinger.dk> | 2008-04-28 19:04:40 +0000 |
---|---|---|
committer | oetting <jacob@oettinger.dk> | 2008-04-28 19:04:40 +0000 |
commit | 4f35c8041bd37d64d56c643a86f9b43184b35b89 (patch) | |
tree | 8f2fc1192eec472c955e89e0814e0162a5d36d91 | |
parent | a42e2a204e13173a2e738a19cb9643008575ee65 (diff) | |
download | webgrind-4f35c8041bd37d64d56c643a86f9b43184b35b89.zip webgrind-4f35c8041bd37d64d56c643a86f9b43184b35b89.tar.gz webgrind-4f35c8041bd37d64d56c643a86f9b43184b35b89.tar.bz2 |
Moved "called from script host" label
-rw-r--r-- | templates/index.phtml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/index.phtml b/templates/index.phtml index 7ccc268..d7cf694 100644 --- a/templates/index.phtml +++ b/templates/index.phtml @@ -71,12 +71,13 @@ {'op':'callinfo_list', 'file':currentDataFile, 'functionNr':functionNr, 'costFormat':$("#costFormat").val()}, function(data){ + if(data.calledByHost) + $("#callinfo_area_"+functionNr).append('<b>Called from script host</b>'); + insertCallInfo(functionNr, 'sub_calls_table_', 'Calls', data.subCalls); insertCallInfo(functionNr, 'called_from_table_', 'Called From', data.calledFrom); - if(data.calledByHost) - $("#callinfo_area_"+functionNr).append('Called by script host'); - + callInfoLoaded[functionNr] = true; } ); |