anchor.diff:                  var form = ko.mapping.toJS(WebUtils.VM.form);
                   var taskid = LABKEY.Utils.generateUUID();
                   //var date = form.date.format("Y-m-d H:i:s");
  -                debugger;
   
                   var insertDate = new Date(form.dateForm);
                   if (form.frequencyForm.value === "AM"){
  
positive.code:                         }
  
  
                      }, this)
  
                  });
  
  
negative.code:                 }
  
                  // Refresh the calendar view.
                  calendar.refetchEvents();
                  //Unblock calendar
                  $('#water-calendar').unblock();
  