소스 검색

empty input value so that same file can be selected multiple times

fixes #531
Artur Paikin 7 년 전
부모
커밋
9d7260b6c8
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/plugins/Dashboard/ActionBrowseTagline.js
  2. 1 0
      src/plugins/Dashboard/Tabs.js

+ 1 - 0
src/plugins/Dashboard/ActionBrowseTagline.js

@@ -27,6 +27,7 @@ class ActionBrowseTagline extends Component {
           name="files[]"
           name="files[]"
           multiple="true"
           multiple="true"
           onchange={this.props.handleInputChange}
           onchange={this.props.handleInputChange}
+          value=""
           ref={(input) => {
           ref={(input) => {
             this.input = input
             this.input = input
           }} />
           }} />

+ 1 - 0
src/plugins/Dashboard/Tabs.js

@@ -48,6 +48,7 @@ class Tabs extends Component {
             name="files[]"
             name="files[]"
             multiple="true"
             multiple="true"
             onchange={this.props.handleInputChange}
             onchange={this.props.handleInputChange}
+            value=""
             ref={(input) => { this.input = input }} />
             ref={(input) => { this.input = input }} />
         </li>
         </li>
         {this.props.acquirers.map((target) => {
         {this.props.acquirers.map((target) => {