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:
Vendored
+1
-1
@@ -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.
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user