Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member devtig's Avatar
    Join Date
    Jan 2010
    Location
    Rotterdam, The Netherlands
    Posts
    388
    Vote Rating
    13
    devtig will become famous soon enough

      0  

    Default Ext.History.getToken() returns the String 'null' in Gecko browsers

    Ext.History.getToken() returns the String 'null' in Gecko browsers


    In Firefox using Ext 3.3.2 with a current url without a # in it, Ext.History.getToken() returns a string with 'null'. That didn't happen in 3.3.1 where an Ext.History.getToken() returned returned null (object).

    This change in pkg-history-debug.js is probably causing it:
    Ext 3.3.1:
    Code:
    function getHash() {
        var href = location.href, i = href.indexOf("#");
        return i >= 0 ? href.substr(i + 1) : null;
    }
    Ext 3.3.2:
    Code:
    function getHash() {
        var href = location.href, i = href.indexOf("#"),
            hash = i >= 0 ? href.substr(i + 1) : null;
                 
        if (Ext.isGecko) {
            hash = decodeURIComponent(hash);
        }
        return hash;
    }

  2. #2
    Sencha User
    Join Date
    Mar 2013
    Posts
    2
    Vote Rating
    0
    divyashah is on a distinguished road

      0  

    Default Ext.History.getToken() return null if the url separator is a questionmark

    Ext.History.getToken() return null if the url separator is a questionmark


    Hi,

    Ext.History.getToken() returns null if the url separator is '?'. Can someone reply how to resolve this?

  3. #3
    Sencha User
    Join Date
    Mar 2013
    Posts
    2
    Vote Rating
    0
    divyashah is on a distinguished road

      0  

    Default


    Hi devtig,

    Did you find any solution to your problem?

Similar Threads

  1. Replies: 6
    Last Post: 23 Jul 2010, 9:01 AM
  2. Replies: 2
    Last Post: 21 Jul 2010, 7:53 AM
  3. Replies: 0
    Last Post: 8 Dec 2008, 6:53 AM
  4. substring/string returns
    By mthad in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 12 Aug 2008, 9:22 AM

Thread Participants: 1