Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
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
Hide 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) {
...
@@ -359,13 +359,14 @@ function installDoubleSubmitDialogPrevention(confirmation_message) {
/* Install an handler to prevent submitting a dialog twice. */
/* Install an handler to prevent submitting a dialog twice. */
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
"
.dialog_submit_button
"
).
on
(
"
click
"
,
function
(
e
){
$
(
"
.dialog_submit_button
"
).
on
(
"
click
"
,
function
(
e
){
$
(
this
).
on
(
"
click.confirm
"
,
function
(
event
)
{
if
(
$
(
this
).
val
()
!=
"
Next
"
)
{
$
(
this
).
off
(
"
.confirm
"
);
$
(
this
).
on
(
"
click.confirm
"
,
function
(
event
)
{
if
(
!
confirm
(
confirmation_message
)
)
{
$
(
this
).
off
(
"
.confirm
"
);
event
.
preventDefault
();
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