mirror of
https://github.com/keeweb/keeweb.git
synced 2024-06-25 07:37:46 +02:00
fix group seq
This commit is contained in:
parent
bf7e18b844
commit
5e4a13a765
|
@ -235,6 +235,10 @@ var GroupModel = MenuItemModel.extend({
|
|||
return DefaultAutoTypeSequence;
|
||||
},
|
||||
|
||||
getParentEffectiveAutoTypeSeq: function() {
|
||||
return this.parentGroup ? this.parentGroup.getEffectiveAutoTypeSeq() : DefaultAutoTypeSequence;
|
||||
},
|
||||
|
||||
moveToTrash: function() {
|
||||
this.file.setModified();
|
||||
this.file.db.remove(this.group);
|
||||
|
|
|
@ -33,7 +33,8 @@ var GrpView = Backbone.View.extend({
|
|||
readonly: this.model.get('top'),
|
||||
canAutoType: !!Launcher,
|
||||
autoTypeSeq: this.model.get('autoTypeSeq'),
|
||||
autoTypeEnabled: this.model.getEffectiveEnableAutoType()
|
||||
autoTypeEnabled: this.model.getEffectiveEnableAutoType(),
|
||||
defaultAutoTypeSeq: this.model.getParentEffectiveAutoTypeSeq()
|
||||
}, { plain: true });
|
||||
if (!this.model.get('title')) {
|
||||
this.$el.find('#grp__field-title').focus();
|
||||
|
|
Loading…
Reference in New Issue
Block a user