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
346841b5
Commit
346841b5
authored
Oct 18, 2016
by
M. Chardon
Browse files
focus après poubelle
parent
5c6c36d9
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
yui/build/moodle-assignfeedback_editpdfplus-editor/moodle-assignfeedback_editpdfplus-editor-debug.js
View file @
346841b5
...
...
@@ -1071,7 +1071,7 @@ Y.extend(ANNOTATION, Y.Base, {
get_button_remove
:
function
()
{
var
buttontrash
=
"
<button id='
"
+
this
.
divcartridge
+
"
_buttonremove' style='display:none;margin-left:10px;'><img src='
"
+
M
.
util
.
image_url
(
'
trash
'
,
'
assignfeedback_editpdfplus
'
)
+
"
' /></button>
"
;
var
buttontrashdisplay
=
Y
.
Node
.
create
(
buttontrash
);
buttontrashdisplay
.
on
(
'
click
'
,
this
.
remove
,
this
);
buttontrashdisplay
.
on
(
'
click
'
,
this
.
remove
_by_trash
,
this
);
return
buttontrashdisplay
;
},
get_input_question
:
function
()
{
...
...
@@ -1427,6 +1427,10 @@ Y.extend(ANNOTATION, Y.Base, {
}
}
},
remove_by_trash
:
function
(
e
)
{
this
.
cancel_edit
();
this
.
remove
(
e
);
},
/**
* Delete an annotation
* @protected
...
...
yui/build/moodle-assignfeedback_editpdfplus-editor/moodle-assignfeedback_editpdfplus-editor-min.js
View file @
346841b5
This diff is collapsed.
Click to expand it.
yui/build/moodle-assignfeedback_editpdfplus-editor/moodle-assignfeedback_editpdfplus-editor.js
View file @
346841b5
...
...
@@ -1071,7 +1071,7 @@ Y.extend(ANNOTATION, Y.Base, {
get_button_remove
:
function
()
{
var
buttontrash
=
"
<button id='
"
+
this
.
divcartridge
+
"
_buttonremove' style='display:none;margin-left:10px;'><img src='
"
+
M
.
util
.
image_url
(
'
trash
'
,
'
assignfeedback_editpdfplus
'
)
+
"
' /></button>
"
;
var
buttontrashdisplay
=
Y
.
Node
.
create
(
buttontrash
);
buttontrashdisplay
.
on
(
'
click
'
,
this
.
remove
,
this
);
buttontrashdisplay
.
on
(
'
click
'
,
this
.
remove
_by_trash
,
this
);
return
buttontrashdisplay
;
},
get_input_question
:
function
()
{
...
...
@@ -1426,6 +1426,10 @@ Y.extend(ANNOTATION, Y.Base, {
}
}
},
remove_by_trash
:
function
(
e
)
{
this
.
cancel_edit
();
this
.
remove
(
e
);
},
/**
* Delete an annotation
* @protected
...
...
yui/src/editor/js/annotation.js
View file @
346841b5
...
...
@@ -524,7 +524,7 @@ Y.extend(ANNOTATION, Y.Base, {
get_button_remove
:
function
()
{
var
buttontrash
=
"
<button id='
"
+
this
.
divcartridge
+
"
_buttonremove' style='display:none;margin-left:10px;'><img src='
"
+
M
.
util
.
image_url
(
'
trash
'
,
'
assignfeedback_editpdfplus
'
)
+
"
' /></button>
"
;
var
buttontrashdisplay
=
Y
.
Node
.
create
(
buttontrash
);
buttontrashdisplay
.
on
(
'
click
'
,
this
.
remove
,
this
);
buttontrashdisplay
.
on
(
'
click
'
,
this
.
remove
_by_trash
,
this
);
return
buttontrashdisplay
;
},
get_input_question
:
function
()
{
...
...
@@ -880,6 +880,10 @@ Y.extend(ANNOTATION, Y.Base, {
}
}
},
remove_by_trash
:
function
(
e
)
{
this
.
cancel_edit
();
this
.
remove
(
e
);
},
/**
* Delete an annotation
* @protected
...
...
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