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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
15da544e
Commit
15da544e
authored
Oct 16, 2017
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_xhtml_style] ckeditor: make is responsive as soon as possible
parent
40f6c8fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_ckeditor/ckeditor.gadget.js.js
...lateItem/portal_skins/erp5_ckeditor/ckeditor.gadget.js.js
+6
-8
No files found.
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_ckeditor/ckeditor.gadget.js.js
View file @
15da544e
...
...
@@ -128,6 +128,7 @@
})
.
declareMethod
(
'
render
'
,
function
(
options
)
{
this
.
listenToResize
();
return
this
.
changeState
({
key
:
options
.
key
,
value
:
options
.
value
||
""
,
...
...
@@ -136,7 +137,8 @@
configuration_mobile
:
options
.
configuration_mobile
||
MOBILE_CONFIGURATION
,
is_responsive
:
(
options
.
configuration_mobile
!==
undefined
)
||
(
options
.
configuration
===
undefined
)
(
options
.
configuration
===
undefined
),
is_mobile
:
MATCH_MEDIA
.
matches
});
})
...
...
@@ -190,7 +192,7 @@
}
})
.
declare
Service
(
function
()
{
.
declare
Job
(
'
listenToResize
'
,
function
()
{
var
result
,
event
,
context
=
this
;
...
...
@@ -204,12 +206,8 @@
is_mobile
:
false
});
}
re
sult
=
loopEventListener
(
window
,
'
resize
'
,
false
,
re
turn
loopEventListener
(
window
,
'
resize
'
,
false
,
extractSizeAndDispatch
);
event
=
document
.
createEvent
(
"
Event
"
);
event
.
initEvent
(
'
resize
'
,
true
,
true
);
window
.
dispatchEvent
(
event
);
return
result
;
});
...
...
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