includes/clientside/static/functions.js
changeset 727 591562495e87
parent 704 077887be639d
child 740 098e744df928
equal deleted inserted replaced
726:17e8c93b4729 727:591562495e87
   158   load_component('jquery-ui');
   158   load_component('jquery-ui');
   159   load_component('fadefilter');
   159   load_component('fadefilter');
   160   load_component('flyin');
   160   load_component('flyin');
   161   load_component('l10n');
   161   load_component('l10n');
   162   
   162   
   163   darken(aclDisableTransitionFX);
   163   darken(aclDisableTransitionFX, 70, 'invalidjsondarkener');
   164   
   164   
   165   var box = document.createElement('div');
   165   var box = document.createElement('div');
   166   var mainwin = document.createElement('div');
   166   var mainwin = document.createElement('div');
   167   var panel = document.createElement('div');
   167   var panel = document.createElement('div');
   168   
   168   
   290     {
   290     {
   291       var parentdiv = this.parentNode.parentNode;
   291       var parentdiv = this.parentNode.parentNode;
   292       if ( aclDisableTransitionFX )
   292       if ( aclDisableTransitionFX )
   293       {
   293       {
   294         parentdiv.parentNode.removeChild(parentdiv);
   294         parentdiv.parentNode.removeChild(parentdiv);
   295         enlighten(aclDisableTransitionFX);
   295         enlighten(aclDisableTransitionFX, 'invalidjsondarkener');
   296       }
   296       }
   297       else
   297       else
   298       {
   298       {
   299         $(parentdiv).hide("blind", {}, 1000, function()
   299         $(parentdiv).hide("blind", {}, 1000, function()
   300           {
   300           {
   301             parentdiv.parentNode.removeChild(parentdiv);
   301             parentdiv.parentNode.removeChild(parentdiv);
   302               enlighten();
   302               enlighten(aclDisableTransitionFX, 'invalidjsondarkener');
   303           });
   303           });
   304       }
   304       }
   305     }
   305     }
   306     panel.appendChild(closer);
   306     panel.appendChild(closer);
   307     
   307