1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 05:25:56 +00:00

disable some submit-type buttons when required data is not given

This commit is contained in:
Andrew Dolgov
2006-05-18 09:29:17 +01:00
parent 0ceded7a46
commit 2371c520c7
4 changed files with 53 additions and 21 deletions

View File

@@ -947,6 +947,7 @@ function displayDlg(id, param) {
xmlhttp.send(null);
disableHotkeys();
}
function infobox_submit_callback() {
@@ -1009,4 +1010,10 @@ function qaddFilter() {
}
function toggleSubmitNotEmpty(e, submit_id) {
try {
document.getElementById(submit_id).disabled = (e.value == "")
} catch (e) {
exception_error("toggleSubmitNotEmpty", e);
}
}