Commit 52028171 authored by Clement Ho's avatar Clement Ho

Fix user uploads file spec

parent ee5b4708
......@@ -59,7 +59,7 @@
v-if="canAttachFile"
class="uploading-container"
>
<span class="uploading-progress-container d-none">
<span class="uploading-progress-container hide">
<i
class="fa fa-file-image-o toolbar-button-icon"
aria-hidden="true"
......@@ -75,7 +75,7 @@
</i>
</span>
</span>
<span class="uploading-error-container d-none">
<span class="uploading-error-container hide">
<span class="uploading-error-icon">
<i
class="fa fa-file-image-o toolbar-button-icon"
......@@ -111,7 +111,7 @@
Attach a file
</button>
<button
class="btn btn-secondary btn-sm d-none button-cancel-uploading-files"
class="btn btn-secondary btn-sm hide button-cancel-uploading-files"
type="button"
>
Cancel
......
......@@ -11,7 +11,7 @@
supported
%span.uploading-container
%span.uploading-progress-container.d-none
%span.uploading-progress-container.hide
= icon('file-image-o', class: 'toolbar-button-icon')
%span.attaching-file-message
-# Populated by app/assets/javascripts/dropzone_input.js
......@@ -19,7 +19,7 @@
%span.uploading-spinner
= icon('spinner spin', class: 'toolbar-button-icon')
%span.uploading-error-container.d-none
%span.uploading-error-container.hide
%span.uploading-error-icon
= icon('file-image-o', class: 'toolbar-button-icon')
%span.uploading-error-message
......@@ -32,4 +32,4 @@
= icon('file-image-o', class: 'toolbar-button-icon')
Attach a file
%button.btn.btn-secondary.btn-sm.d-none.button-cancel-uploading-files{ type: 'button' } Cancel
%button.btn.btn-secondary.btn-sm.hide.button-cancel-uploading-files{ type: 'button' } Cancel
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment