Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    523
    Vote Rating
    42
    BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about

      0  

    Default code editor issues

    I know you guys are working through a bunch of issues but wanted to give you another use case that's causing those error circles (circle with x in them) to show up next to code that works.


    Code:
        var pageControls = 
            {xtype:'panel',
                items:[
                        {xtype:'component', html:"<img src='" + imagePath + newsItem.get("ImageUrl") + "' style='width:150px; height:75px; float:left;padding-right:5px;'>",},
                        {xtype:'component', cls: 'widgetNewsTitle', html:newsItem.get('Title') + '<br>',},
                        {xtype:'component', cls: 'widgetNewsDescription', html: newsItem.get('PubDate') + ': ' + newsItem.get('Description'),},
                        {xtype:'button', ui:'cfnorange',style:'color:#336699;float:right;margin-top:10px;margin-bottom:0px; margin-right:10px; width:50px;', dock:'bottom', text:'Read', handler: function(){widget.showArticle(newsItem.get('ArticleLinkID'));}},
                    ]
        };
    -->

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    140
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default

    Mouse over those error circles. It will show you a tooltip what is wrong with the above code.

    Oh okay, I'll spoil the surprise. You have an extra comma at the end of each line. This is invalid JavaScript but some browsers will ignore it and proceed to execute it. Internet Explorer will not.
    Aaron Conran
    @aconran
    -->

  3. #3
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    523
    Vote Rating
    42
    BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about

      0  

    Default

    Fair enough. Thanks.
    -->

Thread Participants: 1