2008-07-14 21:54:50 +08:00
|
|
|
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 ) {
|
2016-03-09 23:43:44 +08:00
|
|
|
var form = element.form;
|
2016-03-10 00:34:06 +08:00
|
|
|
form.saveBtn.disabled = (element.value == 0);
|
2016-03-09 23:43:44 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-07-14 21:54:50 +08:00
|
|
|
window.focus();
|