)]}'
{"horizon/static/horizon/js/horizon.messages.js":[{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"4d0a7d7b09db10fb42a04d7002ce967a931d5030","unresolved":false,"context_lines":[{"line_number":71,"context_line":"  });"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"  // Bind dismiss(x) handlers for alert messages."},{"line_number":74,"context_line":"  $(\".alert\").alert();"},{"line_number":75,"context_line":"});"}],"source_content_type":"text/javascript","patch_set":1,"id":"da85f559_24bfffd1","line":74,"updated":"2015-11-07 18:19:59.000000000","message":"After testing this out, it looks like we will still need to support the old functionality as well as this.  Since on initial page load (after doing an action that reloads the page before kicking up a message), the messages are simply rendering in html, instead of created using JavaScript.\n\nThis will do what we need: \n\n// Set up dismissal of non-JavaScript based Django alerts\n$(\u0027#main_content .messages .alert\u0027).each(function(i, alert) {\n  horizon.autoDismissAlert($(alert));\n});","commit_id":"b0b2300e5f62cd4d1b1ab9674d266bbdef0947be"}]}
