Closed joshsager closed 8 years ago
If this needs to be implemented anywhere throughout any system all we need to do is call the following and it will clear all onscreen messages.
$timeout(function() {
$rootScope.notifications.objects = null;
}, 3500);
The $timeout
will need to be loaded as a module requirement (i.e., in the function).
When submitting a report if you forget to upload an image, then upload the image, then submit the report. The you need to upload an image message sticks.