angular.js/test/ng/directive
Igor Minar 663ccc5449 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 14:21:02 -07:00
..
aSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
booleanAttrsSpec.js fix(ngSrc,ngHref): binding should set element prop as well as attr 2012-05-06 23:01:33 -07:00
formSpec.js fix(form): prevent page reload when form destroyed 2012-08-10 14:21:02 -07:00
inputSpec.js feat($compile): simplify isolate scope bindings 2012-06-08 15:50:13 -07:00
ngBindSpec.js chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a module 2012-04-11 15:50:47 -07:00
ngClassSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngClickSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngCloakSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngControllerSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngCspSpec.js feat($parse): CSP compatibility 2012-04-27 23:04:24 -07:00
ngEventDirsSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngIncludeSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngInitSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngNonBindableSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngPluralizeSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngRepeatSpec.js fix(ngRepeat): expose $first, $middle and $last instead of $position 2012-05-22 14:18:15 -07:00
ngShowHideSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngStyleSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngSwitchSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngViewSpec.js feat($route): rename template -> tempalteUrl and add support for inline templates 2012-06-01 17:01:10 -07:00
scriptSpec.js fix(script): Incorrectly reading script text on ie 2012-04-20 11:29:34 -07:00
selectSpec.js fix(select): don't interfere with selection if not databound 2012-05-02 14:24:43 -07:00
styleSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00