Commit 57159fba authored by c24b's avatar c24b

M [TPL] editForm

parent ddc7b5fa
...@@ -338,12 +338,12 @@ $(document).on("click",".edit", function(){ ...@@ -338,12 +338,12 @@ $(document).on("click",".edit", function(){
}); });
$("#edit-cancel-"+id).on('click', function(){ $("#edit-cancel-"+id).on('click', function(){
//alert("cancel") //alert("cancel")
$('input#name_p').val(""); $('input#name-'+id).val("");
resetStatusForm("#editForm-"+id); resetStatusForm("#editForm-"+id);
}); });
$("button").on("click", ".edit", function(){ $("button").on("click", ".edit", function(){
$('input#name_p').val(""); $('input#name-'+id).val("");
resetStatusForm("#editForm-"+id); resetStatusForm("#editForm-"+id);
}) })
......
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 to comment