Fixed global priority change UI update.

It was updating the wrong UI element.
This commit is contained in:
WrinklyNinja
2014-08-29 19:53:44 +01:00
parent 9df354f2e1
commit acf27999dc
+1 -1
View File
@@ -184,7 +184,7 @@ function Plugin(obj) {
change.object.li.shadowRoot.getElementsByClassName('hasPriority')[0].title = this.getPriorityString();
change.object.card.shadowRoot.getElementById('priorityValue').value = change.object[change.name];
} else if (change.name == 'isGlobalPriority') {
change.object.li.shadowRoot.getElementsByClassName('hasPriority')[0].title = this.getPriorityString();
change.object.li.setAttribute('data-global-priority', change.object[change.name]);
} else if (change.name == 'messages') {
change.object.updateCardMessages();
/* For messages, the card's messages need updating,