Removed unused code

This commit is contained in:
Sybren A. Stüvel 2017-12-22 14:42:24 +01:00
parent 8fb22931f5
commit f47a45f9a3

View File

@ -182,8 +182,6 @@ $( document ).ready(function() {
$('#item_delete').click(function(e){
e.preventDefault();
if (ProjectUtils.isProject()) {
// url = window.location.href.split('#')[0] + 'delete';
// window.location.replace(url);
$.post(urlProjectDelete, {project_id: ProjectUtils.projectId()},
function (data) {
// Feedback logic