Notification menu containing more that 2 notifications. Closing on the single notification, whole notification panel gets closed.
Excepted Result: Only single notification should hide and store gets updated.
Below is the code snippet for close notification.
tools:[{
xtype
:'tool',
glyph
:'[email protected]',
cls
:'close-btn',
focusCls
:'notification-tool-focus',
callback
:function(notification){
notification
.fireEvent('close', notification);
}
}],Onclosing the notfication stores gets updated and notification menu closes.
closeNotification:function(notification){
var me =this;
me
.getNotificationPanel().focus();
me
.getNotificationPanel().blur();
me
.store.remove(notification.getModel());
},Or can you tell me how can we call showmenu again in callback function after notification.fireEvent.
Notification menu containing more that 2 notifications. Closing on the single notification, whole notification panel gets closed.
Excepted Result: Only single notification should hide and store gets updated.
Below is the code snippet for close notification.
tools:[{
xtype
:'tool',
glyph
:'[email protected]',
cls
:'close-btn',
focusCls
:'notification-tool-focus',
callback
:function(notification){
notification
.fireEvent('close', notification);
}
}],Onclosing the notfication stores gets updated and notification menu closes.
closeNotification:function(notification){
var me =this;
me
.getNotificationPanel().focus();
me
.getNotificationPanel().blur();
me
.store.remove(notification.getModel());
},Notification menu containing more that 2 notifications. Closing on the single notification, whole notification panel gets closed.
Excepted Result: Only single notification should hide and store gets updated.
Below is the code snippet for close notification.
tools:[{
xtype
:'tool',
glyph
:'[email protected]',
cls
:'close-btn',
focusCls
:'notification-tool-focus',
callback
:function(notification){
notification
.fireEvent('close', notification);
}
}],Onclosing the notfication stores gets updated and notification menu closes.
closeNotification:function(notification){
var me =this;
me
.getNotificationPanel().focus();
me
.getNotificationPanel().blur();
me
.store.remove(notification.getModel());
},Notification menu containing more that 2 notifications. Closing on the single notification, whole notification panel gets closed.
Excepted Result: Only single notification should hide and store gets updated.
Below is the code snippet for close notification.
tools:[{
xtype
:'tool',
glyph
:'[email protected]',
cls
:'close-btn',
focusCls
:'notification-tool-focus',
callback
:function(notification){
notification
.fireEvent('close', notification);
}
}],Onclosing the notfication stores gets updated and notification menu closes.
closeNotification:function(notification){
var me =this;
me
.getNotificationPanel().focus();
me
.getNotificationPanel().blur();
me
.store.remove(notification.getModel());
},Notification menu containing more that 2 notifications. Closing on the single notification, whole notification panel gets closed.
Excepted Result: Only single notification should hide and store gets updated.
Below is the code snippet for close notification.
tools:[{
xtype
:'tool',
glyph
:'[email protected]',
cls
:'close-btn',
focusCls
:'notification-tool-focus',
callback
:function(notification){
notification
.fireEvent('close', notification);
}
}],Onclosing the notfication stores gets updated and notification menu closes.
closeNotification:function(notification){
var me =this;
me
.getNotificationPanel().focus();
me
.getNotificationPanel().blur();
me
.store.remove(notification.getModel());
},Notification menu containing more that 2 notifications. Closing on the single notification, whole notification panel gets closed.
Excepted Result: Only single notification should hide and store gets updated.
Below is the code snippet for close notification.
tools:[{
xtype
:'tool',
glyph
:'[email protected]',
cls
:'close-btn',
focusCls
:'notification-tool-focus',
callback
:function(notification){
notification
.fireEvent('close', notification);
}
}],Onclosing the notfication stores gets updated and notification menu closes.
closeNotification:function(notification){
var me =this;
me
.getNotificationPanel().focus();
me
.getNotificationPanel().blur();
me
.store.remove(notification.getModel());
},Notification menu containing more that 2 notifications. Closing on the single notification, whole notification panel gets closed.
Excepted Result: Only single notification should hide and store gets updated.
Below is the code snippet for close notification.
tools:[{
xtype
:'tool',
glyph
:'[email protected]',
cls
:'close-btn',
focusCls
:'notification-tool-focus',
callback
:function(notification){
notification
.fireEvent('close', notification);
}
}],Onclosing the notfication stores gets updated and notification menu closes.
closeNotification:function(notification){
var me =this;
me
.getNotificationPanel().focus();
me
.getNotificationPanel().blur();
me
.store.remove(notification.getModel());
},Notification menu containing more that 2 notifications. Closing on the single notification, whole notification panel gets closed.
Excepted Result: Only single notification should hide and store gets updated.
Below is the code snippet for close notification.
tools:[{
xtype
:'tool',
glyph
:'[email protected]',
cls
:'close-btn',
focusCls
:'notification-tool-focus',
callback
:function(notification){
notification
.fireEvent('close', notification);
}
}],Onclosing the notfication stores gets updated and notification menu closes.
closeNotification:function(notification){
var me =this;
me
.getNotificationPanel().focus();
me
.getNotificationPanel().blur();
me
.store.remove(notification.getModel());},Notification menu containing more that 2 notifications. Closing on the single notification, whole notification panel gets closed.
Excepted Result: Only single notification should hide and store gets updated.
Below is the code snippet for close notification.
tools:[{
xtype
:'tool',
glyph
:'[email protected]',
cls
:'close-btn',
focusCls
:'notification-tool-focus',
callback
:function(notification){
notification
.fireEvent('close', notification);
}
}],Onclosing the notfication stores gets updated and notification menu closes.
closeNotification:function(notification){
var me =this;
me
.getNotificationPanel().focus();
me
.getNotificationPanel().blur();
me
.store.remove(notification.getModel());
},