zoneminder/web/skins/classic/views/js/plugin.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
435 B
JavaScript
Raw Normal View History

2017-05-19 01:50:56 +08:00
function validateForm( form ) {
return ( true );
2013-03-17 07:45:21 +08:00
}
2017-05-19 01:50:56 +08:00
function submitForm( form ) {
form.submit();
2013-03-17 07:45:21 +08:00
}
2017-05-19 01:50:56 +08:00
function limitRange( field, minValue, maxValue ) {
if ( parseInt(field.value) < parseInt(minValue) ) {
field.value = minValue;
} else if ( parseInt(field.value) > parseInt(maxValue) ) {
field.value = maxValue;
}
2013-03-17 07:45:21 +08:00
}
2017-05-19 01:50:56 +08:00
function initPage() {
return ( true );
2013-03-17 07:45:21 +08:00
}
window.addEventListener( 'DOMContentLoaded', initPage );