Browse code

BM-14358 Fix: remove alias limitation

Thomas Fricker authored on 13/03/2019 13:22:08
Showing 6 changed files
... ...
@@ -99,7 +99,7 @@ public class MailAddressTable extends Composite {
99 99
 		s.ensureInjected();
100 100
 
101 101
 		this.hasImplicitEmail = hasImplicitEmail;
102
-		sizeLimit = size;
102
+		sizeLimit = size == -1 ? Integer.MAX_VALUE : size;
103 103
 		emailPanel = new VerticalPanel();
104 104
 		emailPanel.setStyleName(s.emailPanel());
105 105
 		initWidget(emailPanel);
... ...
@@ -126,7 +126,7 @@
126 126
 									</td>
127 127
 									<td class="form">
128 128
 										<ff:MailAddressTableEditor ui:field="mailTable"
129
-											size="50" hasImplicitEmail="false" />
129
+											size="-1" hasImplicitEmail="false" />
130 130
 									</td>
131 131
 									<td></td>
132 132
 								</tr>
... ...
@@ -112,7 +112,7 @@
112 112
 					</td>
113 113
 					<td class="form">
114 114
 						<f:MailAddressTableEditor ui:field="mailTable"
115
-							size="50" hasImplicitEmail="false" />
115
+							size="-1" hasImplicitEmail="false" />
116 116
 					</td>
117 117
 				</tr>
118 118
 
... ...
@@ -77,7 +77,7 @@
77 77
 				<g:ScrollPanel height="140px">
78 78
 					<g:HTMLPanel>
79 79
 						<f:MailAddressTableEditor ui:field="mailTable"
80
-							size="50" hasImplicitEmail="false" />
80
+							size="-1" hasImplicitEmail="false" />
81 81
 					</g:HTMLPanel>
82 82
 				</g:ScrollPanel>
83 83
 
... ...
@@ -188,7 +188,7 @@
188 188
 			<g:ScrollPanel height="150px">
189 189
 				<g:HTMLPanel>
190 190
 					<f:MailAddressTable ui:field="mailAddressTab"
191
-						size="50" hasImplicitEmail="true" />
191
+						size="-1" hasImplicitEmail="true" />
192 192
 				</g:HTMLPanel>
193 193
 			</g:ScrollPanel>
194 194
 			
... ...
@@ -65,7 +65,7 @@
65 65
 								</td>
66 66
 								<td style="form">
67 67
 									<ff:MailAddressTableEditor ui:field="mailTable"
68
-										size="50" hasImplicitEmail="true" />
68
+										size="-1" hasImplicitEmail="true" />
69 69
 								</td>
70 70
 							</tr>
71 71
 						</table>
... ...
@@ -107,7 +107,7 @@
107 107
 							<td style="label"></td>
108 108
 							<td style="form">
109 109
 								<ff:MailAddressTableEditor ui:field="extMailTable"
110
-									size="50" hasImplicitEmail="true" />
110
+									size="-1" hasImplicitEmail="true" />
111 111
 							</td>
112 112
 						</tr>
113 113