Results 1 to 2 of 2

Thread: disable button tooltip not working with firefox

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    srilanka
    Posts
    18

    Default disable button tooltip not working with firefox

    when i disable the button it's tooltip also disables on firefox, for other browsers(chrome,safari, opera) tooltip works as expected.

    Code:
    Ext.onReady(function() {
        Ext.tip.QuickTipManager.init();
    
        var form = Ext.create('Ext.form.Panel', {
    
            renderTo: Ext.getBody(),
            title: 'Simple Form',
            bodyPadding: 5,
            width: 350,
    
            layout: 'anchor',
            defaults: {
                anchor: '100%'
            },
    
            // The fields
            defaultType: 'textfield',
            items: [{
                fieldLabel: 'First Name',
                name: 'first',
                allowBlank: false},
            {
                fieldLabel: 'Last Name',
                name: 'last',
                allowBlank: false}],
    
            // Reset and Submit buttons
            buttons: [{
                text: 'Reset',
                tooltip: 'my Button Tooltip Text',
                id: 'my-button ',
                handler: function() {
                    this.up('form').getForm().reset();
                }},
            {
                text: 'Submit',
                formBind: true,
                //disabled: true,
                handler: function() {
                    Ext.getCmp('my-button ').disable();
                }}],
            renderTo: Ext.getBody()
        });
    
    });
    this is my example code.
    http://jsfiddle.net/BSjqJ/2/

    Browser : Firefox(7.0.1,8.0.1)
    OS : Windows 7,Xp
    Extjs : 4.0.7

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,448

    Default

    I'm not seeing this in FF on Windows 7
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •