aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/cdv_html_page.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2013-11-20 10:01:16 +0100
committerDan Gudmundsson <[email protected]>2014-01-27 16:13:57 +0100
commit2694299fe15c0553101d2107f6689975d16525dc (patch)
tree8e48fab25f8c07973dd144f4430f81f3667fcc5a /lib/observer/src/cdv_html_page.erl
parent5a30dd40a691d610def7b1f00cf39ed0d78eb900 (diff)
downloadotp-2694299fe15c0553101d2107f6689975d16525dc.tar.gz
otp-2694299fe15c0553101d2107f6689975d16525dc.tar.bz2
otp-2694299fe15c0553101d2107f6689975d16525dc.zip
observer: improve wx version of crashdump_viewer
* bugfixes * add first test * remove unused code
Diffstat (limited to 'lib/observer/src/cdv_html_page.erl')
-rw-r--r--lib/observer/src/cdv_html_page.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/observer/src/cdv_html_page.erl b/lib/observer/src/cdv_html_page.erl
index d77238c6cf..0208d1d67a 100644
--- a/lib/observer/src/cdv_html_page.erl
+++ b/lib/observer/src/cdv_html_page.erl
@@ -89,11 +89,11 @@ handle_event(#wx{event=#wxHtmlLink{type=command_html_link_clicked,
list_to_integer(Pos)}},
expand(Id,cdv_bin_wx,State);
"#OBSBinary?" ++ BinSpec ->
- [{"offset",Off},{"size",Size},{"pos",Pos}] =
+ [{"key1",Preview},{"key2",Size},{"key3",Hash}] =
httpd:parse_query(BinSpec),
- Id = {obs, {Tab, {list_to_integer(Off),
+ Id = {obs, {Tab, {list_to_integer(Preview),
list_to_integer(Size),
- list_to_integer(Pos)}}},
+ list_to_integer(Hash)}}},
expand(Id,cdv_bin_wx,State);
"#Term?" ++ TermKeys ->
[{"key1",Key1},{"key2",Key2},{"key3",Key3}] =