mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-68995 atto_image: remove initial dialogue image src attribute.
It caused a spurious request to be sent to the server on display.
This commit is contained in:
parent
71a34a039f
commit
0759da9ecf
@ -182,7 +182,7 @@ var CSS = {
|
||||
// Add the image preview.
|
||||
'<div class="mdl-align">' +
|
||||
'<div class="{{CSS.IMAGEPREVIEWBOX}}">' +
|
||||
'<img src="#" class="{{CSS.IMAGEPREVIEW}}" alt="" style="display: none;"/>' +
|
||||
'<img class="{{CSS.IMAGEPREVIEW}}" alt="" style="display: none;"/>' +
|
||||
'</div>' +
|
||||
|
||||
// Add the submit button and close the form.
|
||||
|
File diff suppressed because one or more lines are too long
@ -182,7 +182,7 @@ var CSS = {
|
||||
// Add the image preview.
|
||||
'<div class="mdl-align">' +
|
||||
'<div class="{{CSS.IMAGEPREVIEWBOX}}">' +
|
||||
'<img src="#" class="{{CSS.IMAGEPREVIEW}}" alt="" style="display: none;"/>' +
|
||||
'<img class="{{CSS.IMAGEPREVIEW}}" alt="" style="display: none;"/>' +
|
||||
'</div>' +
|
||||
|
||||
// Add the submit button and close the form.
|
||||
|
@ -180,7 +180,7 @@ var CSS = {
|
||||
// Add the image preview.
|
||||
'<div class="mdl-align">' +
|
||||
'<div class="{{CSS.IMAGEPREVIEWBOX}}">' +
|
||||
'<img src="#" class="{{CSS.IMAGEPREVIEW}}" alt="" style="display: none;"/>' +
|
||||
'<img class="{{CSS.IMAGEPREVIEW}}" alt="" style="display: none;"/>' +
|
||||
'</div>' +
|
||||
|
||||
// Add the submit button and close the form.
|
||||
|
Loading…
x
Reference in New Issue
Block a user