1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-13 17:17:23 +01:00

more default quota work

This commit is contained in:
John Supplee
2019-01-31 23:58:10 +02:00
parent d1906bd055
commit 70c607e256
2 changed files with 21 additions and 8 deletions

View File

@@ -348,4 +348,15 @@ function generate_random_password() {
show_modal_error("Random Password", "<p>Here, try this:</p> <p><code style='font-size: 110%'>" + pw + "</code></pr");
return false; // cancel click
}
$(document).ready(function(){
api(
"/system/default-quota",
"GET",
{},
function(r) {
$('#adduserQuota').val(r['default-quota']);
}
);
});
</script>