)]}'
{"horizon/static/horizon/js/horizon.networktopology.js":[{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"db82ef53ade0d6bb8fe70d130040dc40e13d9707","unresolved":false,"context_lines":[{"line_number":562,"context_line":""},{"line_number":563,"context_line":"    var device_position \u003d element.find(\u0027.frame\u0027);"},{"line_number":564,"context_line":"    var sidebar_width \u003d $(\".sidebar\").width();"},{"line_number":565,"context_line":"    var topbar_width \u003d $(\".topbar\").height();"},{"line_number":566,"context_line":"    var device_offset \u003d device_position.offset();"},{"line_number":567,"context_line":"    var x \u003d Math.round(device_offset.left + element_properties.device_width + element_properties.balloon_margin.x - sidebar_width);"},{"line_number":568,"context_line":"    var y \u003d Math.round(device_offset.top + element_properties.balloon_margin.y - topbar_width);"}],"source_content_type":"text/javascript","patch_set":1,"id":"3a961159_98fae441","line":565,"updated":"2014-12-30 13:27:41.000000000","message":"I suggest to use `topbar_height` instead of `topbar_width` as an offset for the `y`-coordinate. Anyways, the width of the topbar is the same as the whole browser window width.","commit_id":"b97eb055d5f09158a70955c7ecf7c6b8e1b40994"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"43c277559c83ee4044a370ebe466e3610a4d80a4","unresolved":false,"context_lines":[{"line_number":562,"context_line":""},{"line_number":563,"context_line":"    var device_position \u003d element.find(\u0027.frame\u0027);"},{"line_number":564,"context_line":"    var sidebar_width \u003d $(\".sidebar\").width();"},{"line_number":565,"context_line":"    var topbar_width \u003d $(\".topbar\").height();"},{"line_number":566,"context_line":"    var device_offset \u003d device_position.offset();"},{"line_number":567,"context_line":"    var x \u003d Math.round(device_offset.left + element_properties.device_width + element_properties.balloon_margin.x - sidebar_width);"},{"line_number":568,"context_line":"    var y \u003d Math.round(device_offset.top + element_properties.balloon_margin.y - topbar_width);"}],"source_content_type":"text/javascript","patch_set":1,"id":"3a961159_de244d10","line":565,"in_reply_to":"3a961159_98fae441","updated":"2014-12-30 20:38:13.000000000","message":"Good catch! Done.","commit_id":"b97eb055d5f09158a70955c7ecf7c6b8e1b40994"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"4c65f561243b2d92547b04b11d9d01b383d3b2a9","unresolved":false,"context_lines":[{"line_number":592,"context_line":"    .show();"},{"line_number":593,"context_line":""},{"line_number":594,"context_line":"    if ($balloon.offset().left + $balloon.outerWidth() \u003e $(window).outerWidth()) {"},{"line_number":595,"context_line":"      $balloon.css({"},{"line_number":596,"context_line":"        \u0027left\u0027: \u00270px\u0027"},{"line_number":597,"context_line":"      });"},{"line_number":598,"context_line":"      var left_x \u003d Math.floor(device_offset.left - $balloon.outerWidth() - element_properties.balloon_margin.x - sidebar_width);"}],"source_content_type":"text/javascript","patch_set":2,"id":"3a961159_c28d1633","line":595,"updated":"2015-01-05 19:36:21.000000000","message":"is this needed? looks like you\u0027re replacing it with left_x below anyway?","commit_id":"ab3e8d7693ba6b6191cae9e010e3a3b154db2ce4"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"2e69cd4767c5e8550a50468edb6318bbc208a579","unresolved":false,"context_lines":[{"line_number":592,"context_line":"    .show();"},{"line_number":593,"context_line":""},{"line_number":594,"context_line":"    if ($balloon.offset().left + $balloon.outerWidth() \u003e $(window).outerWidth()) {"},{"line_number":595,"context_line":"      $balloon.css({"},{"line_number":596,"context_line":"        \u0027left\u0027: \u00270px\u0027"},{"line_number":597,"context_line":"      });"},{"line_number":598,"context_line":"      var left_x \u003d Math.floor(device_offset.left - $balloon.outerWidth() - element_properties.balloon_margin.x - sidebar_width);"}],"source_content_type":"text/javascript","patch_set":2,"id":"3a961159_af10d100","line":595,"in_reply_to":"3a961159_c28d1633","updated":"2015-01-06 17:58:37.000000000","message":"Yeah, the full balloon width is needed for the calculations to show balloon on the left side instead of right. At this point, the width might be a condensed version.","commit_id":"ab3e8d7693ba6b6191cae9e010e3a3b154db2ce4"}]}
