diff options
author | Andrew Dolgov <[email protected]> | 2005-12-25 14:43:31 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-12-25 14:43:31 +0100 |
commit | 6c12c80902bbf696f501f028c924605edfc1d122 (patch) | |
tree | 6387ff3a9dc9a9cdbca16e932ed17a47cb30c7d8 /functions.js | |
parent | 8ddf4cdc72e8f6327837558d1b1c71f216fcbff5 (diff) |
fix row selection on editFeed()
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/functions.js b/functions.js index 60fd9da64..e408fb8d7 100644 --- a/functions.js +++ b/functions.js @@ -536,6 +536,26 @@ function selectTableRow(r, do_select) { } } +function selectTableRowById(elem_id, check_id, do_select) { + + try { + + var row = document.getElementById(elem_id); + + if (row) { + selectTableRow(row, do_select); + } + + var check = document.getElementById(check_id); + + if (check) { + check.checked = do_select; + } + } catch (e) { + exception_error("selectTableRowById", e); + } +} + function selectTableRowsByIdPrefix(content_id, prefix, check_prefix, do_select, classcheck) { |