diff options
author | ivan <ivan> | 2009-05-02 00:02:07 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-05-02 00:02:07 +0000 |
commit | b19bf30f0d745d20e5e4f0a8e47ce16a04b02dd9 (patch) | |
tree | 5c277c7bb3fb4a3d9a55d42335696d6649989d67 /httemplate/config/config-process.cgi | |
parent | 0609e18c044c8cf749b58dbae951fdacdb87f159 (diff) |
finish up useful agent stuff on the config editor: adding, deleting overrides too. also add a confirmation to override deletion from the agent browse page. RT#5218
Diffstat (limited to 'httemplate/config/config-process.cgi')
-rw-r--r-- | httemplate/config/config-process.cgi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/config/config-process.cgi b/httemplate/config/config-process.cgi index a5918c035..f8b64e86f 100644 --- a/httemplate/config/config-process.cgi +++ b/httemplate/config/config-process.cgi @@ -66,6 +66,9 @@ $conf->delete($_, $agentnum) foreach @delete; % my $n = 0; % foreach my $type ( ref($i->type) ? @{$i->type} : $i->type ) { var configCell = window.top.document.getElementById('<% $agentnum. $i->key. $n %>'); + if ( ! configCell ) { + window.top.location.reload(); + } //alert('found cell ' + configCell); % if ( $type eq 'textarea' % || $type eq 'editlist' |