Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jan 2008
    Location
    Los Angeles
    Posts
    149
    Vote Rating
    1
    radtad is on a distinguished road

      0  

    Default [FIXED-EXTJSIV-1786][4.0.0] setting href value to button appends '?undefined' to link

    [FIXED-EXTJSIV-1786][4.0.0] setting href value to button appends '?undefined' to link


    I assume this is a bug, unless I'm doing something wrong. This shouldn't be appending anything to the link I'm setting to href.

    Code:
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="stylesheet" type="text/css" href="http://dev.sencha.com/deploy/ext-4.0.0/resources/css/ext-all.css" />
    </head>
    <body>
    </body>
    <script type="text/javascript" src="http://dev.sencha.com/deploy/ext-4.0.0/bootstrap.js"></script>
    <script>
    Ext.onReady(function() {
        var btn = new Ext.button.Button({
            renderTo: Ext.getBody(),
            id: 'btn',
            text: 'Click me',
            href: 'http://www.google.com'
        });
    });
    </script>
    </html>

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,000
    Vote Rating
    650
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Thanks for the report, this should be resolved in the next release.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Similar Threads

  1. Replies: 1
    Last Post: 19 Apr 2011, 4:45 PM
  2. Replies: 0
    Last Post: 18 Apr 2011, 3:17 PM
  3. Replies: 1
    Last Post: 26 Mar 2011, 5:59 PM
  4. Replies: 1
    Last Post: 24 Mar 2011, 11:07 AM
  5. Replies: 0
    Last Post: 30 Jan 2008, 7:49 AM

Thread Participants: 1