Sfoglia il codice sorgente

Fix: Card color setting reloaded the board (hotfix)

- There is another issue why the board get's reloaded again. If i comment
  out the whole events() block so the card color is not saved, the boards
  get reloaded too ...
Martin Filser 3 anni fa
parent
commit
a686a18809
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      client/components/cards/cardDetails.js

+ 1 - 1
client/components/cards/cardDetails.js

@@ -1007,7 +1007,7 @@ BlazeComponent.extendComponent({
         },
         },
         'click .js-submit'() {
         'click .js-submit'() {
           this.currentCard.setColor(this.currentColor.get());
           this.currentCard.setColor(this.currentColor.get());
-          Popup.back();
+          Popup.close();
         },
         },
         'click .js-remove-color'() {
         'click .js-remove-color'() {
           this.currentCard.setColor(null);
           this.currentCard.setColor(null);