mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-24 16:51:58 +00:00
Fixed Quality Toggling on AddSeries.
Fixed Watermark for AddSeries controls.
This commit is contained in:
parent
bfe4de7a08
commit
7edde4a242
3 changed files with 12 additions and 16 deletions
|
@ -14,7 +14,7 @@ var rootListUrl = '../AddSeries/RootList';
|
|||
$(".masterQualitySelector").live('change', function () {
|
||||
|
||||
var profileId = $(this).val();
|
||||
$("#existingSeriesTab").find(".qualitySelector").each(function () {
|
||||
$("#existingSeries").find(".qualitySelector").each(function () {
|
||||
$(this).val(profileId);
|
||||
});
|
||||
});
|
||||
|
@ -125,3 +125,13 @@ $('#quickAddNew').live('click', function () {
|
|||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
//Watermark
|
||||
$('#rootDirInput').livequery(function () {
|
||||
$('#rootDirInput').watermark('Enter your new root folder path...');
|
||||
});
|
||||
|
||||
$('#newSeriesLookup').livequery(function () {
|
||||
$('#newSeriesLookup').watermark('Title of the series you want to add...');
|
||||
});
|
|
@ -9,12 +9,4 @@
|
|||
@Html.DropDownList("qualityList", (SelectList)ViewData["QualityProfiles"], new { @class = "qualitySelector" })
|
||||
<button id="saveNewSeries">
|
||||
Add</button>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
//AddNew
|
||||
$('#newSeriesLookup').watermark('Title of the series you want to add...');
|
||||
});
|
||||
</script>
|
||||
</div>
|
|
@ -8,9 +8,3 @@
|
|||
</span><span id="rootDirs">
|
||||
@{Html.RenderAction("RootList");}
|
||||
</span>
|
||||
<script language="javascript">
|
||||
$(document).ready(function () {
|
||||
//RootDir
|
||||
$('#rootDirInput').watermark('Enter your new root folder path...');
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue