Commit 52028171 authored by Clement Ho's avatar Clement Ho

Fix user uploads file spec

parent ee5b4708
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
v-if="canAttachFile" v-if="canAttachFile"
class="uploading-container" class="uploading-container"
> >
<span class="uploading-progress-container d-none"> <span class="uploading-progress-container hide">
<i <i
class="fa fa-file-image-o toolbar-button-icon" class="fa fa-file-image-o toolbar-button-icon"
aria-hidden="true" aria-hidden="true"
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
</i> </i>
</span> </span>
</span> </span>
<span class="uploading-error-container d-none"> <span class="uploading-error-container hide">
<span class="uploading-error-icon"> <span class="uploading-error-icon">
<i <i
class="fa fa-file-image-o toolbar-button-icon" class="fa fa-file-image-o toolbar-button-icon"
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
Attach a file Attach a file
</button> </button>
<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" type="button"
> >
Cancel Cancel
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
supported supported
%span.uploading-container %span.uploading-container
%span.uploading-progress-container.d-none %span.uploading-progress-container.hide
= icon('file-image-o', class: 'toolbar-button-icon') = icon('file-image-o', class: 'toolbar-button-icon')
%span.attaching-file-message %span.attaching-file-message
-# Populated by app/assets/javascripts/dropzone_input.js -# Populated by app/assets/javascripts/dropzone_input.js
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
%span.uploading-spinner %span.uploading-spinner
= icon('spinner spin', class: 'toolbar-button-icon') = icon('spinner spin', class: 'toolbar-button-icon')
%span.uploading-error-container.d-none %span.uploading-error-container.hide
%span.uploading-error-icon %span.uploading-error-icon
= icon('file-image-o', class: 'toolbar-button-icon') = icon('file-image-o', class: 'toolbar-button-icon')
%span.uploading-error-message %span.uploading-error-message
...@@ -32,4 +32,4 @@ ...@@ -32,4 +32,4 @@
= icon('file-image-o', class: 'toolbar-button-icon') = icon('file-image-o', class: 'toolbar-button-icon')
Attach a file 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