Krzysztof Kotlarek
b47b1d8af8
FIX: label helpers on sign up form are not hidden ( #8603 )
...
This commit https://github.com/discourse/discourse/commit/fe9293b8b554ab79636faa61a4756d5ff514a233 created a regression.
The problem is that dom changed a little bit.
Before it was
```
<tr class="instructions create-account-email">
<td></td>
<div id="account-email-validation" class="tip bad ember-view"></div>
<td><label>Never shown to the public.</label></td>
</tr>
```
And after we got
```
<tr class="instructions create-account-email">
<td></td>
<div id="account-email-validation" class="tip bad ember-view"> </div>
<td><label>Never shown to the public.</label></td>
</tr>
```
That small space may look like not important change.
However, now helpers are hitting that CSS rule:
```
.login-form {
.tip {
&:not(:empty) + td {
display: none;
}
}
```
To fix it, we should render template only if there is a reason - like it was before
```
if (reason) {
buffer.push(iconHTML(this.good ? "check" : "times") + " " + reason);
}
```
* FIX: remove rerenderTriggers
2019-12-20 12:17:51 +01:00
..
2019-05-27 15:19:59 -04:00
2019-12-06 04:07:47 +05:30
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-05-27 10:15:39 +02:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-12 10:47:42 +01:00
2019-11-12 10:47:42 +01:00
2019-12-03 16:07:55 +00:00
2019-10-23 12:30:52 -04:00
2019-10-23 12:30:52 -04:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-10-23 12:30:52 -04:00
2019-10-23 12:30:52 -04:00
2019-10-23 12:30:52 -04:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-11-11 13:34:01 -05:00
2019-12-17 13:01:52 -08:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-12-12 15:03:34 +01:00
2019-11-07 15:38:28 -06:00
2019-12-20 11:56:20 +02:00
2018-06-15 17:03:24 +02:00
2019-11-11 15:48:56 -05:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-10-30 09:48:24 -04:00
2019-12-04 15:39:05 -07:00
2019-10-23 12:30:52 -04:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-12-09 15:07:15 +02:00
2019-10-30 09:48:24 -04:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-11-21 11:01:28 +00:00
2019-10-23 12:30:52 -04:00
2019-11-15 15:29:59 -03:00
2019-05-27 10:15:39 +02:00
2019-05-27 10:15:39 +02:00
2019-11-07 15:38:28 -06:00
2019-11-15 15:29:59 -03:00
2019-11-15 15:29:59 -03:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-11-26 15:48:43 -07:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-12-04 12:07:05 +00:00
2019-11-07 15:38:28 -06:00
2019-10-30 15:28:29 -05:00
2019-11-12 10:47:42 +01:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-10-31 10:18:29 +11:00
2019-10-30 09:48:24 -04:00
2019-11-07 15:38:28 -06:00
2019-11-12 11:49:31 +01:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-11-15 10:34:26 -05:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-11-18 14:59:28 +02:00
2019-11-07 15:38:28 -06:00
2019-11-25 13:36:00 -07:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-12 10:47:42 +01:00
2019-11-18 14:59:28 +02:00
2019-11-29 13:07:24 +05:30
2018-06-15 17:03:24 +02:00
2019-10-23 12:30:52 -04:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-12-20 12:17:51 +01:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-10-30 09:48:24 -04:00
2019-10-23 12:30:52 -04:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-10-30 09:48:24 -04:00
2018-06-15 17:03:24 +02:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-10-30 15:28:29 -05:00
2019-11-05 12:43:49 -06:00
2019-11-07 15:38:28 -06:00
2019-11-21 11:01:28 +00:00
2019-12-18 11:22:28 +00:00
2019-11-07 15:38:28 -06:00
2019-11-12 10:47:42 +01:00
2019-05-27 10:15:39 +02:00
2019-11-20 14:03:45 +00:00
2019-11-20 14:03:45 +00:00
2019-12-05 10:59:36 -07:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-11 13:34:01 -05:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-10-30 15:28:29 -05:00
2019-11-07 15:38:28 -06:00
2019-10-30 15:28:29 -05:00
2019-11-07 15:38:28 -06:00
2019-10-30 15:28:29 -05:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-10-30 09:48:24 -04:00
2019-10-30 09:48:24 -04:00
2019-12-16 08:41:34 -08:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-10-30 17:05:27 -05:00
2019-11-12 11:49:31 +01:00
2019-11-13 12:13:47 -05:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-12-10 14:58:11 -05:00
2019-11-08 13:31:00 -05:00
2019-05-28 12:15:12 +02:00
2019-12-11 14:04:02 +10:00
2019-12-11 14:04:02 +10:00
2019-11-07 15:38:28 -06:00
2019-10-30 09:48:24 -04:00
2019-10-30 15:28:29 -05:00
2019-11-07 15:38:28 -06:00
2019-03-28 12:45:10 -04:00
2019-10-23 12:30:52 -04:00
2019-11-12 10:47:42 +01:00
2019-12-16 08:41:34 -08:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-12-12 07:04:25 -07:00
2019-11-07 15:38:28 -06:00
2019-12-17 10:35:05 -07:00
2019-12-19 14:18:14 -05:00
2019-12-05 20:32:27 -07:00
2019-10-23 12:30:52 -04:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-12-09 11:15:47 -08:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-11-07 15:38:28 -06:00
2019-10-30 15:28:29 -05:00
2019-11-07 15:38:28 -06:00
2019-12-02 11:28:09 -05:00
2019-10-30 15:28:29 -05:00
2019-10-23 12:30:52 -04:00
2019-10-30 17:05:27 -05:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-10-23 12:30:52 -04:00
2019-11-07 15:38:28 -06:00
2019-10-23 12:30:52 -04:00
2019-10-23 12:30:52 -04:00