aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular.suffix
diff options
context:
space:
mode:
authorIgor Minar2012-08-07 22:08:03 -0700
committerIgor Minar2012-08-10 13:03:55 -0700
commit054d40f338f9000cddcf7f0513af37328b88ef41 (patch)
tree9c0c217cc9820c8813cc01a9963d36ef57c1d60a /src/angular.suffix
parent5cec32492c52209ce11b38b8180f9bdb909d041b (diff)
downloadangular.js-054d40f338f9000cddcf7f0513af37328b88ef41.tar.bz2
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
Diffstat (limited to 'src/angular.suffix')
0 files changed, 0 insertions, 0 deletions