Commits

Ahmad Khayyat committed 0d5dc92

Hide the upload and new folder buttons in the generic popup

The buttons require scripts that are not available in the popup,
because the jquery .load() function strips out <script> tags.

Comments (0)

Files changed (1)

filebrowser_safe/templates/filebrowser/include/filelisting.html

         {% endif %}
     </td>
     {% endif %}
-    <style>#media-library-popup #header {display: none;}</style>
+    <style>#media-library-popup #header, #media-library-popup .object-tools {display: none;}</style>
     {% endifequal %}
 
     <!-- FILEICON -->