diff --git a/javascript/UserForm.js b/javascript/UserForm.js index e755026..37171d6 100644 --- a/javascript/UserForm.js +++ b/javascript/UserForm.js @@ -31,8 +31,8 @@ * area. the type information should all be on this object */ - $("div.FieldEditor .MenuHolder .submit").livequery('click',function() { - + $("div.FieldEditor .MenuHolder .action").livequery('click',function() { + // if this form is readonly... if($("#Fields").hasClass('readonly')) return false; @@ -44,7 +44,7 @@ var length = $(".FieldInfo").length + 1; var securityID = ($("#SecurityID").length > 0) ? '&SecurityID='+$("#SecurityID").attr("value") : ''; var type = $(this).siblings("select").val(); - + //send ajax request to the page $.ajax({ type: "GET",