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

20 lines
393 B
JavaScript
Raw Normal View History

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