1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-23 00:12:44 +00:00

Fixed Quality Toggling on AddSeries.

Fixed Watermark for AddSeries controls.
This commit is contained in:
Mark McDowall 2011-12-11 17:22:10 -08:00
parent bfe4de7a08
commit 7edde4a242
3 changed files with 12 additions and 16 deletions

View file

@ -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...');
});

View file

@ -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>

View file

@ -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>