Procházet zdrojové kódy

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 před 4 roky
rodič
revize
a686a18809
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      client/components/cards/cardDetails.js

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

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