Gitlab CSE Unil
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
M. Chardon
moodle-assignfeedback_editpdfplus
Commits
adc12d1d
Commit
adc12d1d
authored
Sep 04, 2017
by
M. Chardon
Browse files
bug couleur cartouche
parent
7a26ea17
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
amd/build/admin_panel.min.js
View file @
adc12d1d
This diff is collapsed.
Click to expand it.
amd/src/admin_panel.js
View file @
adc12d1d
...
...
@@ -482,8 +482,8 @@ define(['jquery', 'core/notification', 'core/templates', 'core/fragment',
currentTool
.
typetool
=
$
(
"
#typetool
"
).
val
();
var
typetoolEntity
=
getTypeTool
(
currentTool
.
typetool
);
currentTool
.
type
=
typetoolEntity
;
currentTool
.
colors
=
typetoolEntity
.
color
;
currentTool
.
cartridgeColor
=
typetoolEntity
.
cartridge
_color
;
currentTool
.
colors
=
typetoolEntity
.
get_
color
()
;
currentTool
.
cartridgeColor
=
typetoolEntity
.
get_color_
cartridge
()
;
$
(
"
#color
"
).
val
(
currentTool
.
colors
);
$
(
"
#cartridgecolor
"
).
val
(
currentTool
.
cartridgeColor
);
initToolDisplay
();
...
...
@@ -637,11 +637,12 @@ define(['jquery', 'core/notification', 'core/templates', 'core/fragment',
}
else
{
currentTool
=
new
Tool
();
$
(
"
#typetool
"
).
on
(
"
change
"
,
function
()
{
currentTool
=
new
Tool
();
currentTool
.
typetool
=
$
(
"
#typetool
"
).
val
();
var
typetoolEntity
=
getTypeTool
(
currentTool
.
typetool
);
currentTool
.
type
=
typetoolEntity
;
currentTool
.
colors
=
typetoolEntity
.
color
;
currentTool
.
cartridgeColor
=
typetoolEntity
.
cartridge
_color
;
currentTool
.
colors
=
typetoolEntity
.
get_
color
()
;
currentTool
.
cartridgeColor
=
typetoolEntity
.
get_color_
cartridge
()
;
$
(
"
#color
"
).
val
(
currentTool
.
colors
);
$
(
"
#cartridgecolor
"
).
val
(
currentTool
.
cartridgeColor
);
initToolDisplay
();
...
...
Write
Preview
Supports
Markdown
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