vojtech-dobes / nette.ajax.js

Flexible AJAX for Nette Framework. Supports snippets, redirects etc.
https://componette.org/vojtech-dobes/nette.ajax.js/
MIT License
149 stars 85 forks source link

Complete event does not fire if ajax request fails #86

Closed Ciki closed 10 years ago

Ciki commented 10 years ago

Complete event gets fired only for successful requests. For failed requests e.g. due syntax error on server only error is triggerred simple test case:

$.nette.ext({
        complete: function() { console.log('complete'); },
        error: function() { console.log('error'); },
        success: function() { console.log('success'); }
    });
Ciki commented 10 years ago

sorry, false report