Merge branch 'hotfix-2.3.87'

pull/567/head
Iglocska 2015-06-25 14:24:12 +02:00
commit f00f74ddb3
1 changed files with 0 additions and 29 deletions

View File

@ -53,7 +53,6 @@ function submitDeletion(context_id, action, type, id) {
},
data: formData,
success:function (data, textStatus) {
console.log(data);
updateIndex(context_id, context);
handleGenericAjaxResponse(data);
},
@ -357,34 +356,6 @@ function attributeListAnyProposalCheckBoxesChecked() {
else $('.mass-proposal-select').hide();
}
function deleteSelectedAttributes(event) {
var answer = confirm("Are you sure you want to delete all selected attributes?");
if (answer) {
var selected = [];
$(".select_attribute").each(function() {
if ($(this).is(":checked")) {
var temp= $(this).data("id");
selected.push(temp);
}
});
$('#AttributeIds').attr('value', JSON.stringify(selected));
var formData = $('#delete_selected').serialize();
$.ajax({
data: formData,
cache: false,
type:"POST",
url:"/attributes/deleteSelected/" + event,
success:function (data, textStatus) {
updateIndex(event, 'event');
var result = handleGenericAjaxResponse(data);
if (result == true) eventUnpublish();
},
});
}
return false;
}
function multiSelectAction(event, context) {
var settings = {
deleteAttributes: {