Merge branch 'indexers'

Fixed indexer validation after merge.
Quality js moved to on() instead of live()
This commit is contained in:
Mark McDowall 2012-02-24 15:27:45 -08:00
commit 991ba4ff0a
5 changed files with 12 additions and 11 deletions

View file

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