Working on time tracker

This commit is contained in:
Hillel Coren 2017-09-26 11:46:49 +03:00
parent aac382321a
commit 4ff0a075ca

View File

@ -79,6 +79,7 @@
},
error: function(error) {
toastr.error("{{ trans('texts.error_refresh_page') }}");
swal('failed to bulk save');
}
});
}
@ -437,6 +438,7 @@
self.save = function(data, isSelected) {
if (self.isValid() !== true) {
toastr.error("{{ trans('texts.error_refresh_page') }}");
swal('not valid on save');
throw self.isValid();
return;
}
@ -506,6 +508,7 @@
},
error: function(error) {
toastr.error("{{ trans('texts.error_refresh_page') }}");
swal('failed to save');
},
});
}