Giter VIP home page Giter VIP logo

ext-basex's People

Watchers

James Cloos avatar

ext-basex's Issues

file: protocol doesn't work by default

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

EXT.Element.uncache is undefined

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

ext-basex.js createResponseObject - truncates URL in POST response header

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

IE7+ Treats async = undefined as true

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

BUG: ext-basex 3.4 duplicates nodes in async treepanel using dataUrl property

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:

synchronous ajax request broken on Firefox 12

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.