Make WordPress Core

Changeset 24608


Ignore:
Timestamp:
07/09/2013 08:20:12 AM (13 years ago)
Author:
koopersmith
Message:

Revisions: Simplify router property name. See #24425.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/revisions.js

    r24607 r24608  
    203203                        this.listenTo( this, 'change:from', this.updateDiff );
    204204                        this.listenTo( this, 'change:to', this.updateDiff );
    205                         this.revisionsRouter = new revisions.Router({ model: this });
     205                        this.router = new revisions.Router({ model: this });
    206206                },
    207207
     
    413413
    414414                        // Update route
    415                         this.model.revisionsRouter.updateUrl();
     415                        this.model.router.updateUrl();
    416416                },
    417417
     
    499499
    500500                        // Update route
    501                         this.model.revisionsRouter.updateUrl();
     501                        this.model.router.updateUrl();
    502502                },
    503503
Note: See TracChangeset for help on using the changeset viewer.