View Full Version : Ext.Core error: line:3686
xy5200
10 May 2010, 7:53 AM
Ext.DomHelper.applyStyles error
not String.prototype.trim
line:3686
----
xy5200@qq.com
hello2008
10 May 2010, 6:45 PM
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...
xy5200
13 May 2010, 11:12 PM
Sorry, I'm using ext-core-debug.js (version 3.1.0), version 3.2.0 download not found
edspencer
13 May 2010, 11:41 PM
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.
xy5200
14 May 2010, 12:13 AM
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.
<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>
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.