ui-refactor: Rename modals.js to overlays.js.

Fixed #4702.
This commit is contained in:
Rohitt Vashishtha
2017-05-27 19:10:54 +05:30
committed by Tim Abbott
parent 1f4e1ece3a
commit 2d73e03e37
21 changed files with 87 additions and 87 deletions

View File

@@ -221,14 +221,14 @@ def find_edges_to_remove(graph, methods):
('subs', 'narrow'),
('unread_ui', 'pm_list'),
('unread_ui', 'stream_list'),
('modals', 'hashchange'),
('overlays', 'hashchange'),
('emoji_picker', 'reactions'),
]
def cut_is_legal(edge):
# type: (Edge) -> bool
parent, child = edge
if child in ['reload', 'popovers', 'modals', 'notifications',
if child in ['reload', 'popovers', 'overlays', 'notifications',
'server_events', 'compose_actions']:
return True
return edge in APPROVED_CUTS