mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 00:08:50 +01:00
parent
ec68e04f27
commit
42c4c199a9
3 changed files with 20 additions and 11 deletions
|
|
@ -310,6 +310,17 @@ $(document).ready(function() {
|
|||
$.post(this.value, params, null, 'script');
|
||||
});
|
||||
|
||||
/* set behavior for edit icon */
|
||||
$(".item-container a.edit_item").live('click', function (ev){
|
||||
itemContainer = $(this).parents(".item-container");
|
||||
$.ajax({
|
||||
url: this.href,
|
||||
beforeSend: function() { itemContainer.block({message: null});},
|
||||
complete: function() { itemContainer.unblock();},
|
||||
dataType: 'script'});
|
||||
return false;
|
||||
});
|
||||
|
||||
setup_container_toggles();
|
||||
|
||||
$('#toggle_action_new').click(function(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue