Move shared CSS/JS from templates to static/style.css and static/app.js
This commit is contained in:
@@ -129,17 +129,5 @@ function toggleSubcomponents(cb) {
|
||||
size.setAttribute('required', '');
|
||||
}
|
||||
}
|
||||
|
||||
function metaSelectChanged(sel, inputId) {
|
||||
var input = document.getElementById(inputId);
|
||||
if (sel.value === '__new__') {
|
||||
input.style.display = '';
|
||||
input.value = '';
|
||||
input.focus();
|
||||
} else {
|
||||
input.style.display = 'none';
|
||||
input.value = sel.value;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user