Cable-Desktop/js/views
lilia f0dcf44b9f Use onClosed instead of onSuspend
Renames extension.windows.beforeUnload to onSuspend, to match the
underlying chrome api call. onClosed fires when the frontend app window
is closed, while onSuspend fires when the background page is closed or
refreshed (which amounts to an app restart).

Frontend views are initialized iff the inbox window is opened, and so
should always be listening to onClosed in order to know when they are no
longer needed.

// FREEBIE
2015-11-08 10:49:31 -08:00
..
attachment_preview_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
attachment_view.js Small refactor of attachment views 2015-10-21 10:52:20 -07:00
confirmation_dialog_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
contact_list_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
conversation_list_item_view.js Use onClosed instead of onSuspend 2015-11-08 10:49:31 -08:00
conversation_list_view.js Fixup change:active_at handling when setting null 2015-09-14 16:29:03 -07:00
conversation_search_view.js Add search field to inbox 2015-10-15 13:33:07 -07:00
conversation_view.js Refactor new message notification and frontend updates 2015-11-07 14:11:13 -08:00
debug_log_view.js Add UI for submitting debug logs 2015-09-16 11:28:37 -07:00
end_session_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
error_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
file_input_view.js Restyle attachment previews 2015-10-29 18:19:51 -07:00
group_member_list_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
group_update_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
identicon_svg_view.js Upsize svg identicons 2015-09-14 13:49:19 -07:00
inbox_view.js Use onClosed instead of onSuspend 2015-11-08 10:49:31 -08:00
install_view.js Validate number before showing step 4 2015-11-07 23:24:29 -08:00
key_conflict_dialogue_view.js Resolve multiple conflicts independently 2015-09-15 11:12:47 -07:00
key_verification_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
list_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
message_detail_view.js Fix re-rendering when resolving conflicts with media 2015-11-05 20:11:28 -08:00
message_list_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
message_view.js Fix incoming key conflict behaviors 2015-11-06 17:50:43 -08:00
new_conversation_view.js DRY up group update sending 2015-09-23 16:45:07 -07:00
new_group_update_view.js DRY up group update sending 2015-09-23 16:45:07 -07:00
phone-input-view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
recipients_input_view.js Simplify event arguments 2015-09-21 10:32:35 -07:00
timestamp_view.js Clear timestamp timeouts if the window closes 2015-11-06 16:47:30 -08:00
toast_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
whisper_view.js Add comment 2015-10-01 10:55:04 -07:00
window_controls_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00