|
|
|
@ -1,3 +1,4 @@ |
|
|
|
|
|
|
|
(function() { |
|
|
|
$(document).ready(function () { |
|
|
|
$(document).ready(function () { |
|
|
|
|
|
|
|
|
|
|
|
$('.delete_license').click(function (e) { |
|
|
|
$('.delete_license').click(function (e) { |
|
|
|
@ -8,8 +9,8 @@ $(document).ready(function() { |
|
|
|
$('#dialogs').dialog({ |
|
|
|
$('#dialogs').dialog({ |
|
|
|
buttons: { |
|
|
|
buttons: { |
|
|
|
"Да": function () { |
|
|
|
"Да": function () { |
|
|
|
$.post('/my/delete_license/' + accountID + '/', function(data){ |
|
|
|
$.post('/my/delete_license/' + accountID + '/', function () { |
|
|
|
$('.account_' + data['id']).remove() |
|
|
|
$("[data-id='" + accountID + "']")[0].remove() |
|
|
|
}); |
|
|
|
}); |
|
|
|
$(this).dialog("close"); |
|
|
|
$(this).dialog("close"); |
|
|
|
}, |
|
|
|
}, |
|
|
|
@ -441,3 +442,4 @@ $(document).ready(function() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
})(); |
|
|
|
|