more better
This commit is contained in:
parent
9deea44c87
commit
3085bba59b
|
@ -244,7 +244,7 @@ namespace NzbDrone.Web.Controllers
|
||||||
|
|
||||||
public ActionResult RootList()
|
public ActionResult RootList()
|
||||||
{
|
{
|
||||||
var rootDir = _rootFolderProvider.GetAll().Select(c => c.Path);
|
IEnumerable<String> rootDir = _rootFolderProvider.GetAll().Select(c => c.Path).OrderBy(e => e);
|
||||||
return PartialView("RootList", rootDir);
|
return PartialView("RootList", rootDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -20,6 +20,10 @@
|
||||||
|
|
||||||
function onRootReady() {
|
function onRootReady() {
|
||||||
|
|
||||||
|
$.ajaxSetup({
|
||||||
|
cache: false
|
||||||
|
});
|
||||||
|
|
||||||
$('#rootDirInput').watermark('Start typing to add new root folder...');
|
$('#rootDirInput').watermark('Start typing to add new root folder...');
|
||||||
|
|
||||||
$('#rootDirs .actionButton img').live('click',
|
$('#rootDirs .actionButton img').live('click',
|
||||||
|
|
Loading…
Reference in New Issue