aboutsummaryrefslogtreecommitdiffstats
path: root/src/widgets.js
diff options
context:
space:
mode:
authorMisko Hevery2010-10-26 15:35:58 -0700
committerMisko Hevery2010-10-26 16:33:59 -0700
commit9c0225512c63ebfc37e6408cc155d9da1fe682c9 (patch)
tree4973f6c57b801c71cbc93d7d993887ff6d3f9558 /src/widgets.js
parent40d7e66f408eaaa66efd8d7934ab2eb3324236a1 (diff)
downloadangular.js-9c0225512c63ebfc37e6408cc155d9da1fe682c9.tar.bz2
fixes IE related failures, and form submit event handling in ie
Diffstat (limited to 'src/widgets.js')
-rw-r--r--src/widgets.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/widgets.js b/src/widgets.js
index 34cc258a..4d8c71d5 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -203,10 +203,6 @@ function inputWidget(events, modelAccessor, viewAccessor, initFn) {
lastValue = model.get();
scope.$tryEval(action, element);
scope.$root.$eval();
- // if we have noop initFn than we are just a button,
- // therefore we want to prevent default action
- if(initFn == noop)
- event.preventDefault();
});
}
function updateView(){