~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/javascript/buglisting.js

  • Committer: Deryck Hodge
  • Date: 2011-11-17 00:34:45 UTC
  • mto: This revision was merged to the branch mainline in revision 14310.
  • Revision ID: deryck.hodge@canonical.com-20111117003445-8mjjagyuzoazogl4
Slight change per Aaron's suggestion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
     * Event handler for history:change events.
87
87
     */
88
88
    history_changed: function(e){
89
 
        if (e.changed.hasOwnProperty('batch_key')) {
 
89
        if (e.newVal.hasOwnProperty('batch_key')) {
90
90
            var batch_key = e.newVal.batch_key;
91
91
            var batch = this.get('batches')[batch_key];
92
92
            this.set('current_batch', batch);