diff options
author | Dan Gudmundsson <[email protected]> | 2014-02-03 15:46:39 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2014-02-03 15:46:39 +0100 |
commit | 9279c200ea4bf7cf5f11749aa5688a5e275f8e66 (patch) | |
tree | 7558e3c9f3c6f5df5a2a32ea8c01134397c16b2a /lib/observer/src/observer_procinfo.erl | |
parent | fdcdaca338849d7f63d4300e489318f6ee275d82 (diff) | |
download | otp-9279c200ea4bf7cf5f11749aa5688a5e275f8e66.tar.gz otp-9279c200ea4bf7cf5f11749aa5688a5e275f8e66.tar.bz2 otp-9279c200ea4bf7cf5f11749aa5688a5e275f8e66.zip |
observer: Fix crash when clicking on pid inside a html-term
Diffstat (limited to 'lib/observer/src/observer_procinfo.erl')
-rw-r--r-- | lib/observer/src/observer_procinfo.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/observer/src/observer_procinfo.erl b/lib/observer/src/observer_procinfo.erl index 988e04993c..3ffa5fc77d 100644 --- a/lib/observer/src/observer_procinfo.erl +++ b/lib/observer/src/observer_procinfo.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2011-2013. All Rights Reserved. +%% Copyright Ericsson AB 2011-2014. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -136,9 +136,9 @@ handle_event(#wx{event=#wxHtmlLink{linkInfo=#wxHtmlLinkInfo{href=Href}}}, {noreply, State}; Callback -> [{"key1",Key1},{"key2",Key2},{"key3",Key3}] = httpd:parse_query(Rest), - Id = {observer, {T,{list_to_integer(Key1), - list_to_integer(Key2), - list_to_integer(Key3)}}}, + Id = {obs, {T,{list_to_integer(Key1), + list_to_integer(Key2), + list_to_integer(Key3)}}}, Opened = case lists:keyfind(Id,1,Opened0) of false -> |