mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 22:01:06 +00:00
Merge pull request #1457 from haiwen/admin-group
udpate admin groups page
This commit is contained in:
@@ -167,7 +167,7 @@ define([
|
||||
var err_str = '';
|
||||
if (data.failed.length > 0) {
|
||||
$(data.failed).each(function(index, item) {
|
||||
err_str += item.email + ': ' + item.error_msg + '<br />';
|
||||
err_str += Common.HTMLescape(item.email) + ': ' + Common.HTMLescape(item.error_msg) + '<br />';
|
||||
});
|
||||
_this.$error.html(err_str).show();
|
||||
}
|
||||
|
@@ -270,7 +270,7 @@ define([
|
||||
if (data.failed.length > 0) {
|
||||
var err_msg = '';
|
||||
$(data.failed).each(function(index, item) {
|
||||
err_msg += item.email + ': ' + item.error_msg + '<br />';
|
||||
err_msg += Common.HTMLescape(item.email) + ': ' + Common.HTMLescape(item.error_msg) + '<br />';
|
||||
});
|
||||
$error.html(err_msg).removeClass('hide');
|
||||
Common.enableButton($submitBtn);
|
||||
|
Reference in New Issue
Block a user