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
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
10728315
Commit
10728315
authored
Jul 28, 2020
by
Gabriel Monnerat
Committed by
Jérome Perrin
Jan 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_office_support_request_ui: accept smaller screens
parent
93125666
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.js
...ateItem/web_page_module/gadget_supportrequest_panel_js.js
+1
-3
No files found.
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.js
View file @
10728315
...
@@ -97,7 +97,6 @@
...
@@ -97,7 +97,6 @@
}
}
}
}
}
}
if
(
modification_dict
.
hasOwnProperty
(
"
global
"
))
{
if
(
modification_dict
.
hasOwnProperty
(
"
global
"
))
{
queue
queue
.
push
(
function
()
{
.
push
(
function
()
{
...
@@ -136,7 +135,6 @@
...
@@ -136,7 +135,6 @@
return
context
.
listenResize
();
return
context
.
listenResize
();
});
});
}
}
if
((
this
.
state
.
global
===
true
)
&&
if
((
this
.
state
.
global
===
true
)
&&
(
modification_dict
.
hasOwnProperty
(
"
desktop
"
)
||
(
modification_dict
.
hasOwnProperty
(
"
desktop
"
)
||
modification_dict
.
hasOwnProperty
(
"
editable
"
)
||
modification_dict
.
hasOwnProperty
(
"
editable
"
)
||
...
@@ -251,7 +249,7 @@
...
@@ -251,7 +249,7 @@
event
,
event
,
context
=
this
;
context
=
this
;
function
extractSizeAndDispatch
()
{
function
extractSizeAndDispatch
()
{
if
(
window
.
matchMedia
(
"
(min-width:
90em
)
"
).
matches
)
{
if
(
window
.
matchMedia
(
"
(min-width:
767px
)
"
).
matches
)
{
return
context
.
changeState
({
return
context
.
changeState
({
desktop
:
true
desktop
:
true
});
});
...
...
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