Commit 40970a7f authored by Dietmar's avatar Dietmar

Better user guidance

parent a4ad022c
......@@ -23,6 +23,13 @@ window.onload = function() {
generateOptions();
};
function remove_error_after_change(){
$("[name='Datatype']").change(function() {
var x = document.getElementById("error");
x.style.display = "none";
});
}
function toggle_div(div_name,message) {
var x = document.getElementById(div_name);
if (message) x.innerHTML = message;
......@@ -31,6 +38,7 @@ function toggle_div(div_name,message) {
} else {
x.style.display = "none";
}
remove_error_after_change();
}
function setVars( json ) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment