mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
Prettier root folder
This commit is contained in:
parent
961c421b3b
commit
7f59062215
5 changed files with 13 additions and 10 deletions
|
@ -21,7 +21,7 @@ define(
|
|||
},
|
||||
|
||||
events: {
|
||||
'click .x-add': 'addFolder'
|
||||
'click .x-add': '_addFolder'
|
||||
},
|
||||
|
||||
initialize: function () {
|
||||
|
@ -30,7 +30,6 @@ define(
|
|||
this.rootfolderListView.on('itemview:folderSelected', this._onFolderSelected, this);
|
||||
},
|
||||
|
||||
|
||||
onRender: function () {
|
||||
|
||||
this.currentDirs.show(this.rootfolderListView);
|
||||
|
@ -41,7 +40,7 @@ define(
|
|||
this.trigger('folderSelected', options);
|
||||
},
|
||||
|
||||
addFolder: function () {
|
||||
_addFolder: function () {
|
||||
var newDir = new RootFolderModel({
|
||||
Path: this.ui.pathInput.val()
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue