Working on time tracker

This commit is contained in:
Hillel Coren 2017-09-25 12:24:15 +03:00
parent c33d216a11
commit 62aaaa08c3

View File

@ -385,8 +385,9 @@
}
self.save = function(data, isSelected) {
if (! self.isValid()) {
if (self.isValid() !== true) {
toastr.error("{{ trans('texts.error_refresh_page') }}");
throw self.isValid();
return;
}
var url = '{{ url('/tasks') }}';