UI widgets: support event-based notifications
UI widgets: support event-based notifications

Triggering 'cloudStack.addNotification' adds a new UI notification, to
avoid having to specify DOM element containing the jQuery widget every
time. This event accepts same args as .notifications('add', ...)

Example:

$(window).trigger('cloudStack.addNotification', {
  desc: 'Description',
  interval: 1000,
  poll: function(args) {
    ...
    args.complete();
  }
});

wido/cloudstack,DaanHoogland/cloudstack,resmo/cloudstack,argv0/cloudstack,jcshen007/cloudstack,wido/cloudstack,GabrielBrascher/cloudstack,wido/cloudstack,GabrielBrascher/cloudstack,resmo/cloudstack,argv0/cloudstack,argv0/cloudstack,resmo/cloudstack,mufaddalq/cloudstack-datera-driver,DaanHoogland/cloudstack,cinderella/incubator-cloudstack,jcshen007/cloudstack,cinderella/incubator-cloudstack,mufaddalq/cloudstack-datera-driver,jcshen007/cloudstack,mufaddalq/cloudstack-datera-driver,jcshen007/cloudstack,wido/cloudstack,argv0/cloudstack,DaanHoogland/cloudstack,GabrielBrascher/cloudstack,jcshen007/cloudstack,resmo/cloudstack,wido/cloudstack,GabrielBrascher/cloudstack,wido/cloudstack,argv0/cloudstack,resmo/cloudstack,jcshen007/cloudstack,resmo/cloudstack,cinderella/incubator-cloudstack,argv0/cloudstack,wido/cloudstack,cinderella/incubator-cloudstack,GabrielBrascher/cloudstack,jcshen007/cloudstack,DaanHoogland/cloudstack,cinderella/incubator-cloudstack,DaanHoogland/cloudstack,mufaddalq/cloudstack-datera-driver,resmo/cloudstack,GabrielBrascher/cloudstack,DaanHoogland/cloudstack,DaanHoogland/cloudstack,mufaddalq/cloudstack-datera-driver,GabrielBrascher/cloudstack,mufaddalq/cloudstack-datera-driver