Disable the change reply button until the server config has loaded

Because the reply dialog depends on the server config to know whether to
display the CC list, await the config load before enabling the button.

Bug: Issue 5244
Change-Id: Id2ebb86f54f398c7ab3a40f78774531770b31099
This commit is contained in:
Wyatt Allen
2017-01-11 11:12:12 -08:00
parent 0744e5feae
commit 1acfed3372
4 changed files with 18 additions and 4 deletions

View File

@@ -80,8 +80,8 @@ limitations under the License.
:host([loading][disabled]) {
cursor: wait;
}
:host(:focus:not([primary]):not([secondary])),
:host(:hover:not([primary]):not([secondary])) {
:host(:focus:not([primary]):not([secondary]):not([disabled])),
:host(:hover:not([primary]):not([secondary]):not([disabled])) {
background-color: #f8f8f8;
border-color: #aaa;
}
@@ -98,7 +98,7 @@ limitations under the License.
:host([primary]:focus) {
box-shadow: 0 0 1px #00f;
}
:host([primary]:hover) {
:host([primary]:not([disabled]):hover) {
background-color: #4d90fe;
border-color: #00F;
}
@@ -112,7 +112,7 @@ limitations under the License.
:host([secondary]:focus) {
box-shadow: 0 0 1px #f00;
}
:host([secondary]:hover) {
:host([secondary]:not([disabled]):hover) {
background-color: #c53727;
border: 1px solid #b0281a;
}