1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-25 09:12:17 +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 () { $(".masterQualitySelector").live('change', function () {
var profileId = $(this).val(); var profileId = $(this).val();
$("#existingSeriesTab").find(".qualitySelector").each(function () { $("#existingSeries").find(".qualitySelector").each(function () {
$(this).val(profileId); $(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

@ -10,11 +10,3 @@
<button id="saveNewSeries"> <button id="saveNewSeries">
Add</button> Add</button>
</div> </div>
<br />
<script type="text/javascript">
$(document).ready(function () {
//AddNew
$('#newSeriesLookup').watermark('Title of the series you want to add...');
});
</script>

View file

@ -8,9 +8,3 @@
</span><span id="rootDirs"> </span><span id="rootDirs">
@{Html.RenderAction("RootList");} @{Html.RenderAction("RootList");}
</span> </span>
<script language="javascript">
$(document).ready(function () {
//RootDir
$('#rootDirInput').watermark('Enter your new root folder path...');
});
</script>