I try install nodebb at new ubuntu18.04:
git clone -b master https://github.com/NodeBB/NodeBB.git nodebb
and
nodebb/public/src/admin/manage/users.js
line:289 has be change
function handleUserCreate() {
$('#createUser').on('click', function () {
Benchpress.parse('admin/partials/create_user_modal', {}, function (html) {
bootbox.dialog({
message: html,
title: '[[admin/manage/users:alerts.create]]',
onEscape: true,
buttons: {
cancel: {
label: '[[admin/manage/users:alerts.button-cancel]]',
className: 'btn-link',
},
create: {
label: '[[admin/manage/users:alerts.button-create]]',
className: 'btn-primary',
callback: function () {
createUser.call(this);
return false;
},
},
},
});
});
return false;
});
}
the bug is the same .
Thanks