Merge "Hygiene: move CategoryAddOverlay window use to client"

This commit is contained in:
jenkins-bot 2018-03-01 18:22:53 +00:00 committed by Gerrit Code Review
commit eb8b6d492f

View file

@ -10,6 +10,9 @@
loader.loadModule( 'mobile.categories.overlays', true ).done( function ( loadingOverlay ) {
var CategoryOverlay = M.require( 'mobile.categories.overlays/CategoryOverlay' );
M.on( 'category-added', function () {
window.location.hash = '#/categories';
} );
loadingOverlay.hide();
result.resolve( new CategoryOverlay( {