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

17 lines
376 B
JavaScript
Raw Normal View History

2017-05-19 01:50:56 +08:00
function selectMonitors() {
createPopup( '?view=monitorselect&callForm=groupForm&callField=newGroup[MonitorIds]', 'zmMonitors', 'monitorselect' );
}
2017-05-19 01:50:56 +08:00
if ( refreshParent ) {
opener.location.reload(true);
}
2016-03-10 00:34:06 +08:00
function configureButtons( element ) {
2017-05-19 01:50:56 +08:00
if ( canEditGroups ) {
var form = element.form;
form.saveBtn.disabled = (element.value == 0);
}
}
window.focus();