1
0
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:
Andrew Dolgov
2012-12-25 18:20:33 +04:00
parent fb0b2ebf84
commit 84391d6948
3 changed files with 7 additions and 17 deletions

View File

@@ -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);
}