Fixed the double form submit issue.
git-svn-id: http://svn.cleancode.org/svn/pickles@44 4d10bc64-7434-11dc-a737-d2d0f8310089
This commit is contained in:
parent
0cd02c228f
commit
b61dc268fe
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ function ajaxRequest(htmlElement, customHandler, placement, url) {
|
|||
}
|
||||
|
||||
if (typeof responseObject.type != 'undefined') {
|
||||
if (responseObject.type == 'success') {
|
||||
if (responseObject.type == 'success' && placement == 'inside') {
|
||||
formElement.submit();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue