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:
Paul Holden
2020-06-09 12:48:50 +01:00
parent 71a34a039f
commit 0759da9ecf
4 changed files with 4 additions and 4 deletions
@@ -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.
+1 -1
View File
@@ -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.