mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:15:56 +00:00
update user editor a bit
This commit is contained in:
11
js/prefs.js
11
js/prefs.js
@@ -83,13 +83,8 @@ function addUser() {
|
||||
function editUser(id, event) {
|
||||
|
||||
try {
|
||||
if (!event || !event.ctrlKey) {
|
||||
|
||||
notify_progress("Loading, please wait...");
|
||||
|
||||
selectTableRows('prefUserList', 'none');
|
||||
selectTableRowById('UMRR-'+id, 'UMCHK-'+id, true);
|
||||
|
||||
var query = "?op=pref-users&method=edit&id=" +
|
||||
param_escape(id);
|
||||
|
||||
@@ -100,12 +95,6 @@ function editUser(id, event) {
|
||||
document.forms['user_edit_form'].login.focus();
|
||||
} });
|
||||
|
||||
} else if (event.ctrlKey) {
|
||||
var cb = $('UMCHK-' + id);
|
||||
cb.checked = !cb.checked;
|
||||
toggleSelectRow(cb);
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
exception_error("editUser", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user