fixes in opml export and note content loading

This commit is contained in:
zadam
2019-02-10 22:45:44 +01:00
parent 6be8a3f343
commit 8aa7e2d0a0
4 changed files with 13 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ let exportId = '';
async function showDialog(defaultType) {
// each opening of the dialog resets the exportId so we don't associate it with previous exports anymore
exportId = '';
$exportButton.removeAttr("disabled");
$exportNoteCountWrapper.hide();
$exportNoteCount.text('0');
@@ -45,6 +46,7 @@ async function showDialog(defaultType) {
}
$form.submit(() => {
// disabling so export can't be triggered again
$exportButton.attr("disabled", "disabled");
const exportType = $dialog.find("input[name='export-type']:checked").val();