1. #81
    Sencha User eirik.lorentsen's Avatar
    Join Date
    Aug 2011
    Location
    Santiago, Chile
    Posts
    33
    Vote Rating
    7
    eirik.lorentsen is on a distinguished road

      0  

    Default


    blagerweij:
    Just pick the license that suits you. Meaning you are completely free to use it in any commercial application under the MIT license.

    Quote Originally Posted by blagerweij View Post
    Erik,

    What is the license for this extension ? It says in the header that it's dual licensed under MIT and GPL, the GPL is a problem for us, MIT is OK.

    Can we use this extension in a commercial application ?

    Thanks for the great work,

    Barry

  2. #82

  3. #83
    Sencha User
    Join Date
    Mar 2010
    Location
    Ukraine
    Posts
    47
    Vote Rating
    3
    sebbio is on a distinguished road

      0  

    Default


    How to rearrange the position of the notifications when browser window is resized?

  4. #84
    Ext JS Premium Member devtig's Avatar
    Join Date
    Jan 2010
    Location
    Rotterdam, The Netherlands
    Posts
    392
    Vote Rating
    13
    devtig will become famous soon enough

      0  

    Default


    What do you mean with rearrange?

  5. #85
    Sencha User
    Join Date
    Nov 2011
    Location
    France
    Posts
    10
    Vote Rating
    0
    hpsam is on a distinguished road

      0  

    Default


    Hi,

    I think it's the same case as sebbio, but more global.
    When the notification manager element size change (floating window resize/move, browser resize...), linked notifications are not moved to match the new element position/size.
    In case of browser resize, notifications can be out of screen. If there is a notification with "autoDestroy: false" out of screen, newer positions based on sibling position are all out of screen.

    regards

  6. #86
    Sencha User
    Join Date
    Jul 2012
    Posts
    11
    Vote Rating
    0
    jonathan999 is on a distinguished road

      0  

    Default how to use

    how to use


    I need to use this for my application.
    can you please explain how to use it after the notification.js file is downloaded and included in the application.

    br,
    jonathan

  7. #87
    Sencha User
    Join Date
    Nov 2012
    Posts
    2
    Vote Rating
    0
    zmengwu is on a distinguished road

      0  

    Default give me a help!!

    give me a help!!


    I DON'T understand why close the window ,function hide() will be called.


    I changed afterShow() as below:


    afterShow: function () {
    var me = this;


    var notifications = me.getNotifications(me.managerAlignment);

    if (notifications.length) {
    me.el.alignTo(notifications[notifications.length - 1].el, me.siblingAlignment, [0, 0]);
    me.xPos = me.getXposAlignedToSibling(notifications[notifications.length - 1]);
    me.yPos = me.getYposAlignedToSibling(notifications[notifications.length - 1]);
    } else {
    me.el.alignTo(me.manager.el, me.managerAlignment, [(me.paddingX * me.paddingFactorX), (me.paddingY * me.paddingFactorY)], false);
    me.xPos = me.getXposAlignedToManager();
    me.yPos = me.getYposAlignedToManager();
    }


    Ext.Array.include(notifications, me);


    me.el.animate({
    to: {
    x: me.xPos,
    y: me.yPos,
    opacity: 1
    },
    easing: me.slideInAnimation,
    duration: me.slideInDuration,
    dynamic: true
    });


    this.callParent(arguments);

    var notifications = me.getNotifications(me.managerAlignment);

    if(notifications.length > 5){
    var closeCount = notifications.length - 5;
    for (var i = 0; i < closeCount; i++) {
    notifications[i].close();
    }
    }

    },


    it exists memory leaking!!!!!!!

  8. #88
    Sencha User
    Join Date
    Nov 2012
    Posts
    2
    Vote Rating
    0
    zmengwu is on a distinguished road

      0  

    Default memory leaking

    memory leaking


    I t exists memory leaking when keeping on popup windows and being closed Autoly for a long time .

    how to improve ?????? Did anybody find it?

  9. #89
    Ext JS Premium Member devtig's Avatar
    Join Date
    Jan 2010
    Location
    Rotterdam, The Netherlands
    Posts
    392
    Vote Rating
    13
    devtig will become famous soon enough

      0  

    Default


    I think replacing all instances of me.hide() with me.close() in the code is the way to improve it (I haven't tried it). The default closeAction of a window is destroy. So, when you close() a window, the instance is destroyed.

    I don't know either why hide is being used.

  10. #90
    Ext JS Premium Member
    Join Date
    Apr 2008
    Location
    Oslo
    Posts
    64
    Vote Rating
    0
    mikhailt is on a distinguished road

      0  

    Thumbs up


    Thank you for your work!
    I think this plugin should be adapted as a standard in ExtJS.