Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
21c4706b
Commit
21c4706b
authored
Dec 29, 2016
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xhtml_style: disable installDoubleSubmitDialogPrevention in formwizard case.
parent
b64c770c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.js
...SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.js
+8
-7
No files found.
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.js
View file @
21c4706b
...
...
@@ -359,13 +359,14 @@ function installDoubleSubmitDialogPrevention(confirmation_message) {
/* Install an handler to prevent submitting a dialog twice. */
$
(
document
).
ready
(
function
()
{
$
(
"
.dialog_submit_button
"
).
on
(
"
click
"
,
function
(
e
){
if
(
$
(
this
).
val
()
!=
"
Next
"
)
{
$
(
this
).
on
(
"
click.confirm
"
,
function
(
event
)
{
$
(
this
).
off
(
"
.confirm
"
);
if
(
!
confirm
(
confirmation_message
)
)
{
event
.
preventDefault
();
}
});
}
});
});
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment