diff --git a/guacamole/src/main/frontend/src/app/notification/services/guacNotification.js b/guacamole/src/main/frontend/src/app/notification/services/guacNotification.js index b52f42146..22eeed630 100644 --- a/guacamole/src/main/frontend/src/app/notification/services/guacNotification.js +++ b/guacamole/src/main/frontend/src/app/notification/services/guacNotification.js @@ -77,12 +77,12 @@ angular.module('notification').factory('guacNotification', ['$injector', * 'text' : { * 'key' : 'NAMESPACE.SOME_TRANSLATION_KEY' * }, - * 'actions' : { + * 'actions' : [{ * 'name' : 'reconnect', * 'callback' : function () { * // Reconnection code goes here * } - * } + * }] * }); * * // To hide the status message