Dotclear

Changeset 3364:1ccfc95b40a3


Ignore:
Timestamp:
10/25/16 12:15:26 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Keeps enhanced uploader buttons inline (media manager), fix #2211

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_media.js

    r3182 r3364  
    6565                    downloadTemplate: template_download 
    6666               }).bind('fileuploadadd', function(e, data) { 
    67                     $('.button.cancel','#fileupload .fileupload-buttonbar').show(); 
     67                    $('.button.cancel').css('display','inline-block'); 
     68                    $('#fileupload .fileupload-buttonbar').show(); 
    6869                    enableButton($('.button.start','#fileupload .fileupload-buttonbar')); 
    6970               }).bind('fileuploadadded', function(e, data) { 
     
    7475                         $('#form-medias .hide').removeClass('hide'); 
    7576                    } 
    76                     $('.button.clean',me).show(); 
     77                    $('.button.clean').css('display','inline-block'); 
     78                    $(me).show(); 
    7779               }).bind('fileuploadalways', function(e, data) { 
    7880                    displayMessageInQueue($('.files .template-upload',me).length); 
     
    113115                         label = dotclear.jsUpload.msg.choose_files; 
    114116                         $('#upfile').attr('multiple', true); 
    115                          var startButton = $('.button.start','#fileupload .fileupload-buttonbar'); 
     117                         var startButton = $('.button.start'); 
     118                         var buttonBar = $('#fileupload .fileupload-buttonbar'); 
    116119                         disableButton(startButton); 
    117                          startButton.show(); 
     120                         disableButton(buttonBar); 
     121                         startButton.css('display','inline-block'); 
     122                         buttonBar.show(); 
    118123                         $(me).fileupload({disabled:false}); 
    119124                         $('.queue-message',me).show(); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map