Fix setting form_createdate with text() instead of val()
This commit is contained in:
parent
db2e8ede95
commit
5b4118f20d
|
|
@ -174,7 +174,7 @@ function submitTask() {
|
||||||
$("#form_id").val("");
|
$("#form_id").val("");
|
||||||
$("#form_title").val("");
|
$("#form_title").val("");
|
||||||
$("#form_description").val("");
|
$("#form_description").val("");
|
||||||
$("#form_createdate").val("Now");
|
$("#form_createdate").text("Now");
|
||||||
$("#form_duedate").val("");
|
$("#form_duedate").val("");
|
||||||
$("#form_completedate").html("");
|
$("#form_completedate").html("");
|
||||||
$("#form_completerow").addClass("noshow");
|
$("#form_completerow").addClass("noshow");
|
||||||
|
|
@ -195,7 +195,7 @@ function resetForm(backToTasks = false) {
|
||||||
$("#form_id").val("0");
|
$("#form_id").val("0");
|
||||||
$("#form_title").val("");
|
$("#form_title").val("");
|
||||||
$("#form_description").val("");
|
$("#form_description").val("");
|
||||||
$("#form_createdate").val("Now");
|
$("#form_createdate").text("Now");
|
||||||
$("#form_duedate").val("");
|
$("#form_duedate").val("");
|
||||||
$("#form_completedate").html("");
|
$("#form_completedate").html("");
|
||||||
$("#form_completerow").addClass("noshow");
|
$("#form_completerow").addClass("noshow");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user