Ignore:
Timestamp:
03/09/14 22:03:19 (11 years ago)
Author:
hendrikvanantwerpen
Message:
  • Removed all Coffeescript from codebase (build process is still there).
  • Nicer message on failed login.
  • Own all event subscriptions from widgets.
  • Update objects in _ObjectPage with invalid info too, or our refresh will overwrite what user did.
Location:
Dev/trunk/src/client/qed-client
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/src/client/qed-client

    • Property svn:ignore
      •  

        old new  
        11
        2 ### begin grunt-svn-ignore managed ignores
        3 ### edits will be overwritten when grunt svn-ignore is run
        4 session.js
        5 ### end grunt-svn-ignore managed ignores
  • Dev/trunk/src/client/qed-client/widgets/LineWithActionsWidget.js

    r490 r494  
    2121        postCreate: function() {
    2222            dom.setSelectable(this.domNode, false); // Text selection, has nothing to do with object selection!
    23             on(this.domNode,'click',lang.hitch(this,'_onClick'));
     23            this.own(on(this.domNode,'click',lang.hitch(this,'_onClick')));
    2424        },
    2525        startup: function() {
  • Dev/trunk/src/client/qed-client/widgets/ListWidget.js

    r490 r494  
    5050            });
    5151            this.source = new this.container(this.domNode,sourceParams);
    52             this.source.on('Drop',lang.hitch(this,'_handleChange'));
     52            this.own(this.source.on('Drop',lang.hitch(this,'_handleChange')));
    5353        },
    5454        creator: function(item, hint) {
     
    6868                }
    6969            }
    70             on(nodeOrWidget,'change',lang.hitch(this,'_handleChange'));
     70            this.own(on(nodeOrWidget,'change',lang.hitch(this,'_handleChange')));
    7171            var node = nodeOrWidget.domNode ? nodeOrWidget.domNode : nodeOrWidget;
    7272            if ( hint !== "avatar" && node.id !== id ) {
  • Dev/trunk/src/client/qed-client/widgets/Selector.js

    r477 r494  
    105105            },this.selectedItemNode);
    106106            this._selectorLine.startup();
    107             this._selectorLine.on('click',lang.hitch(this, this.onToggle));
     107            this.own(this._selectorLine.on('click',lang.hitch(this, 'onToggle')));
    108108        },
    109109        _createSource: function() {
     
    210210            });
    211211            w.startup();
    212             w.on("click", lang.hitch(this, this._onSelect, item, w));
     212            this.own(w.on("click", lang.hitch(this, '_onSelect', item, w)));
    213213            return w.domNode;
    214214        },
Note: See TracChangeset for help on using the changeset viewer.