Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    MenuButton disabled style not updated

    Browser Version: IE11.0.9600.17501
    Platform: Windows 7, 64x
    SC Version: : v9.1p_2014-04-08/PowerEdition Deployment (built 2014-04-08)
    Steps to reproduce: Load the sample (I used isomorphic/system/reference/SmartClient_Explorer.html#replaceStyle). Click on the menu. It shouldve disabled itself but it still looks like it is enabled. If you try in another browser besides IE11, (eg firefox or chrome), when you click on the menu, it turns gray.

    Code:
    isc.MenuButton.create({
        ID:"enableMenuSimple",
        canFocus:true,
        title:"Enable Simple",
        cwIconSpacing:6,
        showDown:false,
        showFocused:false,
        showEmptyMessage:false,
        showRollOver:false,
        autoFit:true,
        baseStyle:"myHighGridCell",
        align:"top",
        showMenuButtonImage:false,
        click:function(){enableMenuSimple.setDisabled(true);}
    })
    
    .myHighGridCell,
    .myHighGridCellDark {
    	font-family:Verdana,Bitstream Vera Sans,sans-serif; font-size:11px; text-overflow:ellipsis;
    	color:blue;
    	border-bottom:1px solid #ffc0c0; border-top:1px solid #ffc0c0;
    	background-color:#ffc0c0;
    }
    
    .myHighGridCellDisabled{
    
    	color:grey;
    
    }

    #2
    Just a quick update - I tried this same scenario in the latest 9.1 build and I am still able to reproduce it:

    SmartClient Version: v9.1p_2015-01-24/PowerEdition Development Only (built 2015-01-24)

    Comment


      #3
      This is now fixed for tomorrow's builds. It was an IE-only issue related to the way that IE fires focus and blur events.

      Comment


        #4
        confirmed fixed using SmartClient_v91p_2015-02-11_PowerEdition

        Comment

        Working...
        X