[DE] Fix Bug 37970
This commit is contained in:
parent
0069f46e55
commit
98487cff2c
|
@ -132,8 +132,7 @@ define([
|
|||
this.radioName = new Common.UI.RadioBox({
|
||||
el: $('#bookmarks-radio-name'),
|
||||
labelText: this.textName,
|
||||
name: 'asc-radio-bookmark-sort',
|
||||
checked: true
|
||||
name: 'asc-radio-bookmark-sort'
|
||||
});
|
||||
this.radioName.on('change', _.bind(this.onRadioSort, this));
|
||||
|
||||
|
@ -143,6 +142,7 @@ define([
|
|||
name: 'asc-radio-bookmark-sort'
|
||||
});
|
||||
this.radioLocation.on('change', _.bind(this.onRadioSort, this));
|
||||
Common.Utils.InternalSettings.get("de-bookmarks-sort-location") ? this.radioLocation.setValue(true, true) : this.radioName.setValue(true, true);
|
||||
|
||||
this.bookmarksList = new Common.UI.ListView({
|
||||
el: $('#bookmarks-list', this.$window),
|
||||
|
@ -195,6 +195,7 @@ define([
|
|||
close: function() {
|
||||
Common.Views.AdvancedSettingsWindow.prototype.close.apply(this, arguments);
|
||||
Common.Utils.InternalSettings.set("de-bookmarks-hidden", this.chHidden.getValue()=='checked');
|
||||
Common.Utils.InternalSettings.set("de-bookmarks-sort-location", this.radioLocation.getValue())
|
||||
},
|
||||
|
||||
_setDefaults: function (props) {
|
||||
|
|
Loading…
Reference in a new issue