PDA

View Full Version : Bug with qclass



rebeccapeltz
20 Oct 2011, 2:09 PM
I can't get qclass to work. Below is a simple example. I'm using 3.4 so I don't know if this was fixed in 4.




<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>QClasse Example</title>
<!-- ** CSS ** --><!-- base library -->
<link rel="stylesheet" type="text/css" href="..\..\jslib\ext-3.4.0\resources\css\ext-all.css" />
<!-- ** Javascript ** -->
<style type="text/css">
.extqtipclass {
padding-right: 105px;
font-size: 30px;
color: red;
}
</style>
<script type="text/javascript" src="..\..\jslib\jquery\1.4.2\jquery.js">
</script>
<script type="text/javascript" src="..\..\jslib\ext-3.4.0\adapter\jquery\ext-jquery-adapter.js">
</script>
<script type="text/javascript" src="..\..\jslib\ext-3.4.0\adapter\ext\ext-base.js">
</script>
<script type="text/javascript" src="..\..\jslib\ext-3.4.0\ext-all-debug.js">
</script>
<script type="text/javascript" src="..\js\includes.js">
</script>
<script type="text/javascript" src="..\js\chart.js">
</script>
<!-- page specific -->
<!-- overrides to base library -->
<!-- page specific -->
<script type=text/javascript>
Ext.onReady(function(){
Ext.QuickTips.init();
var qtipcontent = 'qtip hello world';
new Ext.Panel({
title: 'Q style',
renderTo: 'test',
html: '<div ext:qclass="extqtipclass" ext:qtip="' + qtipcontent + '">hello,world</div>'
})
});
</script>
</head>
<body>
<div id="test">
</div>
</body></html>

kestin
17 Nov 2011, 9:07 AM
I too had been having the same problem and just as you, the bug issue had been a real menace. However, I got the issue fixed once I updated to the version 4 from 3.4. I think this issue was reported to Sencha hris (http://www.paycor.com/) team and the folks solved it with the consecutive update.