@@ -352,6 +352,11 @@
self.duration.pretty = ko.computed({
read: function() {
+ // handle the input being changed and the form is submitted before focus out
+ if ($("input.duration").is(":focus")) {
+ return $("input.duration").val();
+ }
+
var duration = false;
var start = self.startTime();
var end = self.endTime();