Bug Fix: Job Expected Date UI

Incorrect format displayed - which couldn't be interpreted by the
date-picker.
This commit is contained in:
Gary Sharp
2014-02-11 13:59:16 +11:00
parent 3ae657f2ba
commit c4cc54d316
3 changed files with 57 additions and 58 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
</td>
<td>@if (Authorization.Has(Claims.Job.Properties.ExpectedClosedDate))
{
@Html.TextBoxFor(m => m.Job.ExpectedClosedDate, new { @class = "small discreet" }) @AjaxHelpers.AjaxSave() @AjaxHelpers.AjaxLoader()
@Html.TextBoxFor(m => m.Job.ExpectedClosedDate, "{0:yyyy/MM/dd hh:mm tt}", new { @class = "small discreet" }) @AjaxHelpers.AjaxSave() @AjaxHelpers.AjaxLoader()
<script type="text/javascript">
$(function () {
var $ajaxSave = $('#Job_ExpectedClosedDate').next('.ajaxSave');