2017-05-19 01:50:56 +08:00
|
|
|
function selectMonitors() {
|
|
|
|
createPopup( '?view=monitorselect&callForm=groupForm&callField=newGroup[MonitorIds]', 'zmMonitors', 'monitorselect' );
|
2008-07-14 21:54:50 +08:00
|
|
|
}
|
|
|
|
|
2017-05-19 01:50:56 +08:00
|
|
|
if ( refreshParent ) {
|
|
|
|
opener.location.reload(true);
|
2008-07-14 21:54:50 +08:00
|
|
|
}
|
|
|
|
|
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);
|
|
|
|
}
|
2016-03-09 23:43:44 +08:00
|
|
|
}
|
|
|
|
|
2008-07-14 21:54:50 +08:00
|
|
|
window.focus();
|