Close export dialog autmatically for support form
Summary: This diff adds the support to close the dialog automatically for the support form. Reviewed By: passy Differential Revision: D17899862 fbshipit-source-id: 9d9cd14556a4cebe60f8cc1d082be3e439998e9c
This commit is contained in:
committed by
Facebook Github Bot
parent
4a8a4aabb6
commit
de17f3905b
@@ -196,7 +196,11 @@ function getTemplate(
|
||||
return;
|
||||
}
|
||||
store.dispatch(
|
||||
setSelectPluginsToExportActiveSheet({type: 'file', file: file}),
|
||||
setSelectPluginsToExportActiveSheet({
|
||||
type: 'file',
|
||||
file: file,
|
||||
closeOnFinish: false,
|
||||
}),
|
||||
);
|
||||
},
|
||||
);
|
||||
@@ -208,7 +212,12 @@ function getTemplate(
|
||||
label: 'Sharable Link',
|
||||
accelerator: 'CommandOrControl+Shift+E',
|
||||
click: function() {
|
||||
store.dispatch(setSelectPluginsToExportActiveSheet({type: 'link'}));
|
||||
store.dispatch(
|
||||
setSelectPluginsToExportActiveSheet({
|
||||
type: 'link',
|
||||
closeOnFinish: false,
|
||||
}),
|
||||
);
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user