Changeset 3b58a0 in indico


Ignore:
Timestamp:
12/01/11 13:38:14 (19 months ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 4287315ec967a3da168d83963c14001db8487d53
Children:
f2c7a7
Parents:
8d0776
git-author:
Adrian Moennich <jerome.ernst.monnich@…> (07/11/11 16:22:47)
git-committer:
Pedro Ferreira <jose.pedro.ferreira@…> (12/01/11 13:38:14)
Message:

[FIX] really fix the loading dialog

Location:
indico/htdocs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • indico/htdocs/css/Default.css

    r7b4e91 r3b58a0  
    52005200.loadingPopup { 
    52015201    background: transparent url('../images/load_lightblue.gif') scroll no-repeat center center; 
    5202     min-width: 180px; 
     5202    min-width: 130px; 
    52035203    height: 70px; 
    52045204} 
  • indico/htdocs/js/indico/Core/Dialogs/Base.js

    r7b4e91 r3b58a0  
    189189                 Html.div('loadingPopup', 
    190190                          Html.div('text', this.text)), 
    191                  {background: '#424242', border: 'none', padding: '20px 5px', overflow:'auto'}); 
     191                 {background: '#424242', border: 'none', padding: '20px', overflow: 'auto'}, 
     192                 {background: '#424242', border: 'none', padding: '1px', overflow: 'auto'}); 
    192193         } 
    193194     }, 
  • indico/htdocs/js/indico/Core/Dialogs/Popup.js

    rce1cee9 r3b58a0  
    6060    }, 
    6161 
    62     draw: function(content, customStyle) { 
     62    draw: function(content, customStyle, popupStyle) { 
    6363        customStyle = customStyle || {}; 
    6464        if(!content) { 
     
    6969        } 
    7070 
    71         var container = $('<div class="exclusivePopup"/>').css(customStyle).append(content); 
     71        if(popupStyle === undefined) { 
     72            popupStyle = customStyle; 
     73        } 
     74        var container = $('<div class="exclusivePopup"/>').css(popupStyle).append(content); 
    7275 
    7376        this.showCloseButton = !!this.title; 
Note: See TracChangeset for help on using the changeset viewer.