diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-05-30 14:04:09 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-05-30 14:04:09 -0700 |
commit | dba6b1030a2694cbb69371c171e4ebb8c52db830 (patch) | |
tree | e3bf8f3b15c283be12558282900f8224d8e9eafd /httemplate/edit | |
parent | 5700d83bcd475134cff8afb28307174c09116924 (diff) |
MySQL support, RT#28895
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/process/tower.html | 5 | ||||
-rw-r--r-- | httemplate/edit/tower.html | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/httemplate/edit/process/tower.html b/httemplate/edit/process/tower.html index bbfc1a670..02362db6a 100644 --- a/httemplate/edit/process/tower.html +++ b/httemplate/edit/process/tower.html @@ -2,6 +2,9 @@ table => 'tower', viewall_dir => 'browse', process_o2m => { 'table' => 'tower_sector', - 'fields' => [qw( sectorname ip_addr height freq_mhz direction width range )], + 'fields' => [qw( + sectorname ip_addr height freq_mhz direction width + sector_range + )], }, &> diff --git a/httemplate/edit/tower.html b/httemplate/edit/tower.html index 00c9adde1..fa3838dcf 100644 --- a/httemplate/edit/tower.html +++ b/httemplate/edit/tower.html @@ -37,7 +37,10 @@ my $m2_error_callback = sub { # reconstruct the list my ($cgi, $object) = @_; - my @fields = qw( sectorname ip_addr height freq_mhz direction width range ); + my @fields = qw( + sectorname ip_addr height freq_mhz direction width sector_range + ); + map { my $k = $_; new FS::tower_sector { |