implement file upload UI on bootstrap templates

This commit is contained in:
El RIDO 2015-09-18 10:49:39 +02:00
parent 8de24fae67
commit e144739dec
3 changed files with 54 additions and 7 deletions

View file

@ -922,6 +922,7 @@ $(function() {
stateNewPaste: function()
{
this.message.text('');
this.attachment.addClass('hidden');
this.cloneButton.addClass('hidden');
this.rawTextButton.addClass('hidden');
this.remainingTime.addClass('hidden');
@ -937,7 +938,6 @@ $(function() {
this.newButton.removeClass('hidden');
this.password.removeClass('hidden');
this.attach.removeClass('hidden');
this.attachment.removeClass('hidden');
this.message.removeClass('hidden');
this.message.focus();
},
@ -961,7 +961,6 @@ $(function() {
this.rawTextButton.removeClass('hidden');
this.attach.addClass('hidden');
this.attachment.addClass('hidden');
this.expiration.addClass('hidden');
this.formatter.addClass('hidden');
this.burnAfterReadingOption.addClass('hidden');