1. #1
    Ext User
    Join Date
    May 2010
    Posts
    3
    Vote Rating
    0
    xy5200 is on a distinguished road

      0  

    Exclamation Unanswered: Ext.Core error: line:3686

    Unanswered: Ext.Core error: line:3686


    Ext.DomHelper.applyStyles error
    not String.prototype.trim
    line:3686




    ----
    xy5200@qq.com

  2. #2
    Sencha User
    Join Date
    Dec 2007
    Posts
    167
    Vote Rating
    0
    hello2008 is on a distinguished road

      0  

    Default


    Quote Originally Posted by xy5200 View Post
    Ext.DomHelper.applyStyles error
    not String.prototype.trim
    line:3686
    could you please add more details?

    I did a quick test with ext-core-debug.js (version 3.2.0) and found test_applyStyles failed in Style Test Suite: "Unexpected error: sample.applyStyles is not a function", maybe that is the issue, but don't have time to look into codes...

  3. #3
    Ext User
    Join Date
    May 2010
    Posts
    3
    Vote Rating
    0
    xy5200 is on a distinguished road

      0  

    Default


    Sorry, I'm using ext-core-debug.js (version 3.1.0), version 3.2.0 download not found

  4. #4
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Answers
    29
    Vote Rating
    9
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    Quote Originally Posted by xy5200 View Post
    Sorry, I'm using ext-core-debug.js (version 3.1.0), version 3.2.0 download not found
    Great, but it's very hard for us to diagnose when all you give is an error message. If you can provide detailed steps on how to reproduce the error I'll be more than happy to take a look at fixing this.
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  5. #5
    Ext User
    Join Date
    May 2010
    Posts
    3
    Vote Rating
    0
    xy5200 is on a distinguished road

      0  

    Default


    Quote Originally Posted by edspencer View Post
    Great, but it's very hard for us to diagnose when all you give is an error message. If you can provide detailed steps on how to reproduce the error I'll be more than happy to take a look at fixing this.
    Code:
     
    <html>
     <head>
      <title></title>
      <script type="text/javascript" src="ext-core-debug.js"></script>
      <script type="text/javascript">
       Ext.onReady(function () {
        var el = Ext.DomHelper.append(Ext.getBody(), { tag: 'div' }, true);
        Ext.DomHelper.applyStyles(el, 'padding: 5px;')
       });
      </script>
     </head>
     <body></body>
    </html>

Thread Participants: 2

Tags for this Thread