mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
Dissable temporarily the cache value of inlinedForm
Due to bug https://github.com/peerlibrary/meteor-blaze-components/issues/50
This commit is contained in:
parent
5d1c6b63be
commit
97807abd70
4 changed files with 5 additions and 6 deletions
|
@ -27,7 +27,7 @@ template(name="addListForm")
|
|||
.list.js-list.list-composer.js-list-composer
|
||||
+inlinedForm(autoclose=false)
|
||||
input.list-name-input(type="text" placeholder="{{_ 'add-list'}}"
|
||||
autocomplete="off" autofocus value=getCache)
|
||||
autocomplete="off" autofocus)
|
||||
div.edit-controls.clearfix
|
||||
button.primary.confirm.js-save-edit(type="submit") {{_ 'save'}}
|
||||
a.fa.fa-times-thin.js-close-inlined-form
|
||||
|
|
|
@ -28,7 +28,7 @@ Template.createLabelPopup.helpers({
|
|||
var labels = this.labels || this.card.board().labels;
|
||||
var usedColors = _.pluck(labels, 'color');
|
||||
var availableColors = _.difference(labelColors, usedColors);
|
||||
return availableColors.length > 1 ? availableColors[0] : 'green';
|
||||
return availableColors.length > 1 ? availableColors[0] : labelColors[0];
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@ template(name="addCardForm")
|
|||
.minicard-labels.js-minicard-composer-labels
|
||||
.minicard-details.clearfix
|
||||
textarea.minicard-composer-textarea.js-card-title(autofocus)
|
||||
= getCache
|
||||
.minicard-members.js-minicard-composer-members
|
||||
.add-controls.clearfix
|
||||
button.primary.confirm(type="submit") {{_ 'add'}}
|
||||
|
|
|
@ -7,7 +7,7 @@ template(name="listHeader")
|
|||
a.list-header-menu-icon.fa.fa-bars.js-open-list-menu
|
||||
|
||||
template(name="editListTitleForm")
|
||||
input.field.single-line(type="text" value="{{getCache title}}" autofocus)
|
||||
input.field.single-line(type="text" value=title autofocus)
|
||||
.edit-controls.clearfix
|
||||
input.primary.confirm(type="submit" value="{{_ 'save'}}")
|
||||
a.fa.fa-times.js-close-inlined-form
|
||||
button.primary.confirm(type="submit") {{_ 'save'}}
|
||||
a.fa.fa-times-thin.js-close-inlined-form
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue