From acf27999dcec85adcaee7f352e88ac54d6005a0b Mon Sep 17 00:00:00 2001 From: WrinklyNinja Date: Fri, 29 Aug 2014 19:53:44 +0100 Subject: [PATCH] Fixed global priority change UI update. It was updating the wrong UI element. --- resources/report/js/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/report/js/plugin.js b/resources/report/js/plugin.js index 1f5caa07..485dc835 100644 --- a/resources/report/js/plugin.js +++ b/resources/report/js/plugin.js @@ -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,