|
|
|
@ -72,8 +72,6 @@
|
|
|
|
|
function submitHandler() {
|
|
|
|
|
if ($.validate.form()) {
|
|
|
|
|
var data = $("#form-leave-add").serializeArray();
|
|
|
|
|
var username = $("input[id='username']").val()
|
|
|
|
|
data.push({"name": "userName", "value": username});
|
|
|
|
|
$.operate.save(prefix + "/add",data);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|