Преглед на файлове

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 преди 4 години
родител
ревизия
a686a18809
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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);