Ignore:
Timestamp:
07/23/12 15:24:04 (13 years ago)
Author:
jkraaijeveld
Message:

Session now also correctly removes the accounts (still question titles until we introduce accounts) when they are removed from the list. Ordering is not yet taken into account.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client/rft/ui/ListView.js

    r364 r371  
    1919            templateString: templateString,
    2020            baseClass: 'rftList',
     21
     22            removeCallback: null,
     23
     24            constructor: function() {
     25                lang.mixin(this, arguments);
     26            },
    2127
    2228            postCreate: function() {
     
    97103            removeItem: function(item, widget) {
    98104                widget.destroy();
     105                if(this.removeCallback)
     106                    this.removeCallback(item);
    99107            }
    100108        });
Note: See TracChangeset for help on using the changeset viewer.