From dba6b1030a2694cbb69371c171e4ebb8c52db830 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 30 May 2014 14:04:09 -0700 Subject: MySQL support, RT#28895 --- httemplate/edit/process/tower.html | 5 ++++- httemplate/edit/tower.html | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'httemplate/edit') 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 { -- cgit v1.2.1