Fix share modal auto-close bug

pull/1/head
yflory 6 years ago
parent ff22af3343
commit 0a639851bb

@ -50,7 +50,7 @@ define([
password: priv.password password: priv.password
} }
}); });
UI.findCancelButton().click(); $('button.cancel').click(); // Close any existing alertify
UI.openCustomModal(UI.dialog.tabs(modal), { UI.openCustomModal(UI.dialog.tabs(modal), {
wide: Object.keys(friends).length !== 0 wide: Object.keys(friends).length !== 0
}); });
@ -74,9 +74,6 @@ define([
andThen(common); andThen(common);
return; return;
} }
metadataMgr.onChange(function () {
andThen(common);
});
}); });
}; };
main(); main();

Loading…
Cancel
Save