mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
Merge branch 'indexers'
Fixed indexer validation after merge. Quality js moved to on() instead of live()
This commit is contained in:
parent
1a5b20a48b
commit
991ba4ff0a
5 changed files with 12 additions and 11 deletions
|
@ -1,15 +1,15 @@
|
|||
var deleteQualityProfileUrl = '../../Settings/DeleteQualityProfile';
|
||||
|
||||
$("#addItem").live('click', function () {
|
||||
$(document).on("click", "#addProfile", function (event) {
|
||||
$.ajax({
|
||||
url: this.href,
|
||||
cache: false,
|
||||
success: function (html) {
|
||||
$("#profiles").append(html);
|
||||
|
||||
}
|
||||
});
|
||||
return false;
|
||||
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
function deleteProfile(id) {
|
||||
|
@ -66,14 +66,14 @@ function getCleanId(obj) {
|
|||
return parentProfileSection.children('.cleanId').val();
|
||||
}
|
||||
|
||||
$(".profileName_textbox").live('keyup', function () {
|
||||
$(document).on('keyup', '.profileName_textbox', function () {
|
||||
var value = $(this).val();
|
||||
var profileId = getProfileId(this);
|
||||
$("#title_" + profileId).text(value);
|
||||
renameOption(value, profileId);
|
||||
}).keyup();
|
||||
|
||||
$('.quality-selectee').live('click', function () {
|
||||
$(document).on('click', '.quality-selectee', function () {
|
||||
var id = $(this).attr('id');
|
||||
var cleanId = getCleanId(this);
|
||||
var cutoff = '#' + cleanId + '_Cutoff';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue