Merge pull request #10347 from seamuslee001/CRM-20238
[civicrm-core.git] / ang / crmStatusPage / StatusPageServices.js
index 0173484b5cb930acdbe3f3186c9e6dfa8b2d8109..a37ceafb9a87051513662f2180d506888bbdbb8d 100644 (file)
@@ -3,10 +3,6 @@
   angular.module('statuspage')
     .filter('trusted', function($sce){ return $sce.trustAsHtml; })
 
-    .service('statuspageSeverityList', function() {
-      return ['debug', 'info', 'notice', 'warning', 'error', 'critical', 'alert', 'emergency'];
-    })
-
     // Todo: abstract this into a generic crmUi directive?
     .directive('statuspagePopupMenu', function($timeout) {
       return {
@@ -27,7 +23,7 @@
           // TODO: Is there a more "Angular" way to do this animation?
           element.on('click', 'button:not(.hush-menu-button), li', function() {
             $(this).closest('div.crm-status-item').slideUp();
-          })
+          });
         }
       };
     });