angular.js/test/ng
Igor Minar 054d40f338 fix(form): prevent page reload when form destroyed
this fix ensures that we prevent the default action on form submission
(full page reload) even in cases when the form is being destroyed as
a result of the submit event handler (e.g. when route change is
triggered).

The fix is more complicated than I'd like it to be mainly because
we need to ensure that we don't create circular references between
js closures and dom elements via DOM event handlers that would then
result in a memory leak.

Also the differences between IE8, IE9 and normal browsers make testing
this ugly.

Closes #1238
2012-08-10 13:03:55 -07:00
..
directive fix(form): prevent page reload when form destroyed 2012-08-10 13:03:55 -07:00
filter chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a module 2012-04-11 15:50:47 -07:00
anchorScrollSpec.js fix($sniffer): report history false on Android < 4 2012-05-14 15:12:51 -07:00
browserSpecs.js fix(browser): prevent ie from getting into redirect loop 2012-06-22 10:21:31 -07:00
cacheFactorySpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
compileSpec.js fix($compile): correctly merge class attr for replace directives 2012-06-08 16:07:15 -07:00
controllerSpec.js chore(controller): allow setting map of controllers 2012-05-04 15:50:37 -07:00
documentSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
exceptionHandlerSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
httpBackendSpec.js chore($browser): remove the addJs method 2012-04-09 17:59:47 -07:00
httpSpec.js fix($http): add utf-8 to default Content-Type header (post/put) 2012-06-08 16:07:15 -07:00
interpolateSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
localeSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
locationSpec.js fix($location): url rewriting if element was removed 2012-06-20 12:18:48 -07:00
logSpec.js fix($sniffer): report history false on Android < 4 2012-05-14 15:12:51 -07:00
parseSpec.js fix($parse): support methods on falsy primitive types 2012-05-05 03:30:19 +02:00
qSpec.js fix($q): $q.reject should forward callbacks if missing 2012-04-02 10:14:04 -07:00
rootElementSpec.js feat($rootElement): added application root element 2012-06-02 14:50:58 -07:00
rootScopeSpec.js fix($rootScope): TTL exception does not clear $$phase 2012-05-23 16:01:20 -07:00
routeParamsSpec.js feat($route): allow chaining of whens and otherwise 2012-04-04 16:10:44 -07:00
routeSpec.js feat($location): add $locatonChange[begin|completed] event 2012-06-02 15:44:58 -07:00
snifferSpec.js fix($sniffer): report history false on Android < 4 2012-05-14 15:12:51 -07:00
timeoutSpec.js fix($timeout): allow calling $timeout.cancel() with undefined 2012-06-04 17:43:14 -07:00
windowSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00