Skip to content

Commit faa4861

Browse files
committed
Changed address field.
1 parent 789d621 commit faa4861

File tree

2 files changed

+11
-17
lines changed

2 files changed

+11
-17
lines changed

models/contacts.data.js

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ uiModels.contact_data = [{
1010
phonehome: '415 378 3577',
1111
phonecell: '415 135 3454',
1212
web: 'http://EasyDoesIt.com',
13-
address1: '12, Liverpool Street',
13+
address: '12, Liverpool Street',
1414
city: 'San Francisco',
1515
state: 'CA',
1616
zip: '94123',
@@ -21,7 +21,7 @@ uiModels.contact_data = [{
2121
lastname: 'Shackleford ',
2222
firstname: 'Rusty ',
2323
24-
address1: '123 Main Street',
24+
address: '123 Main Street',
2525
city: 'Dallas',
2626
state: 'TX',
2727
country: 'US',
@@ -35,7 +35,7 @@ uiModels.contact_data = [{
3535
3636
phone: '423 233 3523',
3737
phonehome: '423 523 4523',
38-
address1: '5665 Poplar Street',
38+
address: '5665 Poplar Street',
3939
city: 'San Jose',
4040
state: 'CA',
4141
zip: '93112',
@@ -52,8 +52,7 @@ uiModels.contact_data = [{
5252
phonehome: '411 576 4566',
5353
phonecell: '411 579 4566',
5454
fax: '411 444 2224',
55-
address1: '654 Union Street',
56-
address2: '#203',
55+
address: '654 Union Street',
5756
city: 'San Francisco',
5857
state: 'CA',
5958
zip: '94567',
@@ -65,7 +64,7 @@ uiModels.contact_data = [{
6564
firstname: 'Henry',
6665
company: 'TEST the TEST',
6766
phone: '652 491 2345',
68-
address1: '1234 That Street',
67+
address: '1234 That Street',
6968
city: 'San Mateo',
7069
state: 'CA',
7170
zip: '94401',
@@ -104,7 +103,7 @@ uiModels.contact_data = [{
104103
phone: '444 580 7007',
105104
phonehome: '449 512 0230',
106105
phonecell: '589 499 2065',
107-
address1: '123 Redville Lane',
106+
address: '123 Redville Lane',
108107
city: 'Musnonville',
109108
state: 'NH',
110109
zip: '03434',
@@ -121,8 +120,7 @@ uiModels.contact_data = [{
121120
phonecell: '322 538 2568',
122121
fax: '322 234 5345',
123122
web: 'http://roman.munar.com',
124-
address1: 'Washington',
125-
address2: 'Buendia',
123+
address: 'Washington',
126124
city: 'Makati',
127125
state: '',
128126
zip: '1300',
@@ -137,7 +135,7 @@ uiModels.contact_data = [{
137135
web: 'http://www.blabla.com',
138136
phone: '415 123 1234',
139137
phonecell: '415 789 4556',
140-
address1: '768 5th Ave',
138+
address: '768 5th Ave',
141139
city: 'San Francisco',
142140
state: 'CA',
143141
zip: '93123',
@@ -153,7 +151,7 @@ uiModels.contact_data = [{
153151
web: 'http://www.coolweb.com',
154152
phone: '7225 8252',
155153
phonecell: '7325 8245',
156-
address1: '434 Cool Place',
154+
address: '434 Cool Place',
157155
city: 'Bengaluru',
158156
state: '',
159157
country: 'IN',

models/contacts.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -382,12 +382,8 @@ uiModels.contact = {
382382
type: 'panel', label: 'Address', width: 62,
383383
elements: [
384384
{
385-
type: 'text', id: 'address1', attribute: 'address1',
386-
label: 'Address', maxLength: 150, width: 100
387-
},
388-
{
389-
type: 'text', id: 'address2', attribute: 'address2',
390-
label: '', labelMany: 'Address 2', maxLength: 150, width: 100
385+
type: 'text', id: 'address', attribute: 'address',
386+
label: 'Address', maxLength: 150, width: 100, height: 3
391387
},
392388
{
393389
type: 'text', id: 'city', attribute: 'city',

0 commit comments

Comments
 (0)