more updates :)

pull/144/head
Henrique Dias 2017-06-29 14:32:46 +01:00
parent 87ed75adc8
commit 0a44059eb1
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730
4 changed files with 4 additions and 10 deletions

View File

@ -47,9 +47,9 @@
</div>
</div>
<rename-prompt v-show="showRename" :class="{ active: showRename }"></rename-prompt>
<delete-prompt v-show="showDelete" :class="{ active: showDelete }"></delete-prompt>
<info-prompt v-show="showInfo" :class="{ active: showInfo }"></info-prompt>
<rename-prompt v-if="showRename" :class="{ active: showRename }"></rename-prompt>
<delete-prompt v-if="showDelete" :class="{ active: showDelete }"></delete-prompt>
<info-prompt v-if="showInfo" :class="{ active: showInfo }"></info-prompt>
<move-prompt v-if="showMove" :class="{ active: showMove }"></move-prompt>
<help v-show="showHelp" :class="{ active: showHelp }"></help>

View File

@ -103,11 +103,6 @@ export default {
},
close: function () {
this.showInfo = false
let checksums = this.$el.querySelectorAll('a')
for (let i = 0; i < checksums.length; i++) {
checksums[i].innerHTML = 'show'
}
}
}
}

View File

@ -67,7 +67,7 @@ import webdav from '../webdav.js'
import page from '../page.js'
export default {
name: 'preview',
name: 'listing',
data: function () {
return window.info
},

View File

@ -26,7 +26,6 @@ export default {
methods: {
cancel: function (event) {
$.showRename = false
this.name = ''
},
oldName: function () {
if ($.req.kind !== 'listing') {