artlantis / ext-basex Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/ext-basex
Automatically exported from code.google.com/p/ext-basex
What steps will reproduce the problem?
1. Create a menu using ExtJS (Ext.menu.Menu) to access another pages.
2. When I click in any option, this exception occur : EXT.Element.uncache is
undefined
3.
What is the expected output? What do you see instead?
Please use labels and text to provide additional information.
Original issue reported on code.google.com by [email protected]
on 15 Jan 2010 at 5:03
What steps will reproduce the problem?
1. Request a page via xhr using the file protocol
What is the expected output? What do you see instead?
A page should load, but it doesn't.
What version of the product are you using? On what operating system?
Any version, Win7.
Please provide any additional information below.
To fix, simply default the forceActiveX function like so:
forceActiveX : (window.location.protocol == 'file:')
This will default it to false except when the file protocol is used.
Original issue reported on code.google.com by [email protected]
on 25 Aug 2010 at 8:47
What steps will reproduce the problem?
1. Use IE7+
2. Make request with async: false or Ext.lib.Ajax.async = false
What is the expected output? What do you see instead?
Synchronous request. Instead you see an asynchronous request.
What version of the product are you using? On what operating system?
4.0, win7
Please provide any additional information below.
This is solved by changing this on line 782:
Ext.apply(O,{
async : O.async || _to.async,
proxied : O.proxied || _to.proxied,
multiPart : O.multiPart || _to.multiPart,
xdomain : O.xdomain ||_to.xdomain,
queue : O.queue ||_to.queue,
onPart : O.onPart ||_to.onPart
});
... to this:
Ext.apply(O,{
async : O.async || _to.async || false,
proxied : O.proxied || _to.proxied,
multiPart : O.multiPart || _to.multiPart,
xdomain : O.xdomain ||_to.xdomain,
queue : O.queue ||_to.queue,
onPart : O.onPart ||_to.onPart
});
The reason for this is that IE7+ appears to default to asynchronous for its
implementation of the XMLHttpRequest object. Firefox appears to require
async=true for this to be the case so a falsey async works.
Original issue reported on code.google.com by [email protected]
on 13 Jan 2010 at 4:14
Under Firefox 12.0, synchronous Ajax requests (async:false) fail.
Example:
Ext.Ajax.request({
url : '/index.html',
async : false,
failure : function(){alert('Error');},
success : function(response){
alert('ok');
});
always shows "Error"
Original issue reported on code.google.com by [email protected]
on 25 Apr 2012 at 5:01
What steps will reproduce the problem?
1. copy ext-basex.js to examples/tree extjs directory
2. change headers of reorder.html to include ext-basex.js
3. open examples/tree/reorder.html on browser
What is the expected output? What do you see instead?
treepanel loads url once, but nodes are duplicated
What version of the product are you using? On what operating system?
ext-basex.js version 3.4 with extjs 3.0.0
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 14 Jul 2009 at 6:01
Attachments:
What steps will reproduce the problem?
1. POSTing to http://mydomain:8888/com/bla
2.
3.
What is the expected output? What do you see instead?
Location header in response should be:
http://mydomain:8888/com/bla
but it is:
8888/com/bla
What version of the product are you using? On what operating system?
ext-basex 4 JIT
Please provide any additional information below.
At line 655 of ext-basex.js, where the header is split on ':', only the
last portion is assigned as the value for that header:
headerStr = ('getAllResponseHeaders' in o.conn ?
o.conn.getAllResponseHeaders() : null ) || '';
var s;
headerStr.split('\n').forEach( function(sHeader){
(s = sHeader.split(':')) && s.first() &&
(headerObj[s.first().trim().toLowerCase()] =
(s.last()||'').trim());
});
For now, I've patched our downloaded ext-basex.js with the tokeniser used
in extjs-base (from function createResponseObject):
Ext.each(headerStr.replace(/\r\n/g, '\n').split('\n'), function(v){
t = v.indexOf(':');
if(t >= 0){
s = v.substr(0, t).toLowerCase();
if(v.charAt(t + 1) == ' '){
++t;
}
headerObj[s] = v.substr(t + 1);
}
});
Cheers for library!
Original issue reported on code.google.com by [email protected]
on 29 Oct 2009 at 9:24
converting responseText to a native JS object if the Content-Type matches
*/json (or options.isJSON == true).
Original issue reported on code.google.com by [email protected]
on 12 Jul 2008 at 1:03
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.