|
|
|
|
@ -243,6 +243,8 @@ |
|
|
|
|
this.$el.find('.download').click(_.bind(this._onClickDownloadSelected, this)); |
|
|
|
|
this.$el.find('.delete-selected').click(_.bind(this._onClickDeleteSelected, this)); |
|
|
|
|
|
|
|
|
|
this.$el.find('.selectedActions a').tooltip({placement:'top'}); |
|
|
|
|
|
|
|
|
|
this.setupUploadEvents(); |
|
|
|
|
|
|
|
|
|
this.$container.on('scroll', _.bind(this._onScroll, this)); |
|
|
|
|
@ -854,6 +856,7 @@ |
|
|
|
|
fileData.extraData = fileData.extraData.substr(1); |
|
|
|
|
} |
|
|
|
|
nameSpan.addClass('extra-data').attr('title', fileData.extraData); |
|
|
|
|
nameSpan.tooltip({placement: 'right'}); |
|
|
|
|
} |
|
|
|
|
// dirs can show the number of uploaded files
|
|
|
|
|
if (type === 'dir') { |
|
|
|
|
@ -1532,7 +1535,7 @@ |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
function restore() { |
|
|
|
|
input.tipsy('hide'); |
|
|
|
|
input.tooltip('hide'); |
|
|
|
|
tr.data('renaming',false); |
|
|
|
|
form.remove(); |
|
|
|
|
td.children('a.name').show(); |
|
|
|
|
@ -1547,7 +1550,7 @@ |
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
var newName = input.val(); |
|
|
|
|
input.tipsy('hide'); |
|
|
|
|
input.tooltip('hide'); |
|
|
|
|
form.remove(); |
|
|
|
|
|
|
|
|
|
if (newName !== oldname) { |
|
|
|
|
@ -1599,8 +1602,8 @@ |
|
|
|
|
} |
|
|
|
|
} catch (error) { |
|
|
|
|
input.attr('title', error); |
|
|
|
|
input.tipsy({gravity: 'w', trigger: 'manual'}); |
|
|
|
|
input.tipsy('show'); |
|
|
|
|
input.tooltip({placement: 'left', trigger: 'manual'}); |
|
|
|
|
input.tooltip('show'); |
|
|
|
|
input.addClass('error'); |
|
|
|
|
} |
|
|
|
|
return false; |
|
|
|
|
@ -1609,12 +1612,12 @@ |
|
|
|
|
// verify filename on typing
|
|
|
|
|
try { |
|
|
|
|
checkInput(); |
|
|
|
|
input.tipsy('hide'); |
|
|
|
|
input.tooltip('hide'); |
|
|
|
|
input.removeClass('error'); |
|
|
|
|
} catch (error) { |
|
|
|
|
input.attr('title', error); |
|
|
|
|
input.tipsy({gravity: 'w', trigger: 'manual'}); |
|
|
|
|
input.tipsy('show'); |
|
|
|
|
input.tooltip({placement: 'left', trigger: 'manual'}); |
|
|
|
|
input.tooltip('show'); |
|
|
|
|
input.addClass('error'); |
|
|
|
|
} |
|
|
|
|
if (event.keyCode === 27) { |
|
|
|
|
|