You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
This breaks lots of existing forms with action="", which is useful when sending POST to the same page. In current situation, to fix this, we need to change our templates to something like action="<? $_SERVER['PHP_SELF'] ?>".
=> when someObject is the result of an Ajax call, Angular seems to initialize the action tag as an empty string and then prevent default form submit, even after the action is populated.
Right now the condition is
(https://github.com/angular/angular.js/blob/master/src/ng/directive/form.js#L310)
This breaks lots of existing forms with
action=""
, which is useful when sending POST to the same page. In current situation, to fix this, we need to change our templates to something likeaction="<? $_SERVER['PHP_SELF'] ?>"
.I suggest changing the condition to
Does this make any sense?
The text was updated successfully, but these errors were encountered: