Changeset 4

Show
Ignore:
Timestamp:
09/25/08 15:42:15 (22 months ago)
Author:
nathanhammond
Message:

We can't use the short circuit scenario if the to address has a querystring.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jquery.jssm.js

    r3 r4  
    386386        getRelativePath: function (from, to, strict) { 
    387387                // Check for the fastest scenario. 
    388                 if (from == to) { return this.getCurrentPage(to); } 
     388                if (from == to && to.indexOf('?') == -1) { return this.getCurrentPage(to); } 
    389389 
    390390                from = this.getPathTokens(from);