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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
erp5
Commits
51110f6a
Commit
51110f6a
authored
Apr 06, 2016
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Do not ongoing changes if no action is available
parent
58248225
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_header_js.js
...TemplateItem/web_page_module/rjs_gadget_erp5_header_js.js
+8
-4
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_header_js.js
View file @
51110f6a
...
...
@@ -102,12 +102,16 @@
// Directly modify the previous calculated header
// in order not to remove the submit input
// and still receive 'submit' event
var
class_list
=
this
.
props
.
right_link
.
querySelector
(
'
button
'
).
classList
;
var
button
=
this
.
props
.
right_link
.
querySelector
(
'
button
'
),
class_list
;
if
(
button
!==
null
)
{
class_list
=
button
.
classList
;
if
(
class_list
.
contains
(
'
ui-icon-check
'
))
{
class_list
.
remove
(
'
ui-icon-check
'
);
class_list
.
add
(
'
ui-icon-warning
'
);
}
}
}
})
.
declareMethod
(
'
notifySubmitting
'
,
function
()
{
if
(
this
.
stats
.
submitted
)
{
...
...
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