mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 15:37:32 +08:00
Merge pull request #12736 from assuntad23/bugfix/fix-collection-upload-ui/12535
Removing unusable Name field from Collections upload
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
<table class="upload-table ui-table-striped" v-show="!showHelper" ref="uploadTable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Size</th>
|
||||
<th>Status</th>
|
||||
<th />
|
||||
@@ -87,7 +86,7 @@
|
||||
ref="btnCreate"
|
||||
class="ui-button-default"
|
||||
id="btn-new"
|
||||
@click="_eventCreate"
|
||||
@click="_eventCreate(false)"
|
||||
:disabled="!enableSources"
|
||||
>
|
||||
<span class="fa fa-edit"></span>{{ btnCreateTitle }}
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
ref="btnCreate"
|
||||
class="ui-button-default"
|
||||
id="btn-new"
|
||||
@click="_eventCreate"
|
||||
@click="_eventCreate(true)"
|
||||
:disabled="!enableSources"
|
||||
>
|
||||
<span class="fa fa-edit"></span>{{ btnCreateTitle }}
|
||||
|
||||
@@ -254,8 +254,12 @@ export default {
|
||||
}
|
||||
},
|
||||
/** Create a new file */
|
||||
_eventCreate: function () {
|
||||
this.uploadbox.add([{ name: "New File", size: 0, mode: "new" }]);
|
||||
_eventCreate: function (withNewFile) {
|
||||
if (withNewFile == true) {
|
||||
this.uploadbox.add([{ name: "New File", size: 0, mode: "new" }]);
|
||||
} else if (withNewFile == false) {
|
||||
this.uploadbox.add([{ size: 0, mode: "new" }]);
|
||||
}
|
||||
},
|
||||
/** Pause upload process */
|
||||
_eventStop: function () {
|
||||
|
||||
Reference in New Issue
Block a user