Not really sure what your problem is. Your php file is empty, but when using callback versus your PHP file, everything seems to work right -- the link target is intact.
What is going wrong in your version? Are you returning the value back from your php file? If not this will fail I believe
This seems to work just fine, unless I am missing what you are trying to do:
$(document).ready(function(){
$("img.modifyButton").click(function(){
$(this).prev().editInPlace({
success: function(){
$(this).unbind('.editInPlace');
$(this).unbind('click');
// alert('success');
},
error: function(){
$(this).unbind('.editInPlace');
$(this).unbind('click');
//alert('error');
},
callback: function(b,abc){
return abc;
},
text_size:55,
show_buttons: false
,params:"field=Title"
});
$(this).prev().on('click', function(event)
{
event.preventDefault();
});
$(this).prev().click();
});
});
I think the problem lies in your php script -- the above works as your example, with the php not included -- as it was not included in your git repo.