MDL-65604 repository: Kill off missing param errors
authorAndrew Nicols <andrew@nicols.co.uk>
Sun, 11 Aug 2019 06:51:15 +0000 (14:51 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Sun, 11 Aug 2019 06:51:18 +0000 (14:51 +0800)
The file picker template included an img with a src of "#". When the
template was loaded into the modal, the browser fetches the img src, but
it's immediately removed as that section is only used as an in-place
template. The src tag does not need to be present.

lib/templates/filemanager_modal_generallayout.mustache

index 7a16342..456f705 100644 (file)
@@ -2,7 +2,7 @@
     <div tabindex="0" class="file-picker fp-generallayout row" role="dialog" aria-live="assertive">
         <div class="fp-repo-area col-md-3 pr-2 nav nav-pills flex-column" role="tablist">
                 <div class="fp-repo nav-item" role="tab" aria-selected="false" tabindex="-1">
-                    <a href="#" class="nav-link" tabindex="-1"><img class="fp-repo-icon" alt=" " src="#" width="16" height="16" />&nbsp;<span class="fp-repo-name"></span></a>
+                    <a href="#" class="nav-link" tabindex="-1"><img class="fp-repo-icon" alt=" " width="16" height="16" />&nbsp;<span class="fp-repo-name"></span></a>
                 </div>
 
         </div>
@@ -60,4 +60,4 @@
             </div>
         </div>
     </div>
-</div>
\ No newline at end of file
+</div>