Commit d3355a06 by Dányi Bence

webui: add share edit modal window

parent dd9822c0
...@@ -203,6 +203,17 @@ $(function() { ...@@ -203,6 +203,17 @@ $(function() {
} else { } else {
e.slideUp(700); e.slideUp(700);
} }
});
$('.shares .edit').click(function(e){
e.preventDefault(); e.stopPropagation();
$.ajax({
type: 'GET',
url: '/ajax/shareEdit/'+$(this).data('id')+'/',
success: function(data){
$('#modal').show();
$('#modal-container').html(data);
}
})
}) })
$('.selected-summary').next().show(); $('.selected-summary').next().show();
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment