Changeset 2765


Ignore:
Timestamp:
Nov 7, 2016, 2:03:00 PM (3 years ago)
Author:
kbut
Message:

fix bugs

Location:
lliurex-mirror/trunk/fuentes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • lliurex-mirror/trunk/fuentes/admin-center-lliurex-mirror.install/lliurex-mirror/src/js/lliurex-mirror.js

    r2516 r2765  
    215215  });
    216216
    217 
    218 
    219 Utils.n4d(self.credentials, self.n4dclass, "get_option_update", [distro], function getoptionupdate(response){
    220   var credentials=[sessionStorage.username , sessionStorage.password];
    221   var n4dclass="MirrorManager";
    222   var n4dmethod="get_mirror_orig";
    223   var arglist=[self.activedistro];
    224   Utils.n4d(credentials, n4dclass, n4dmethod, arglist, function getmirrororig(response){
    225     var value = response['msg'];
    226     if (value.toLowerCase() == 'lliurex.net/xenial'){
    227       internet.classList.add('btn-info');
    228     }
    229     else{
    230       url.classList.add('btn-info');
    231       inputcustomurl.value = value;
    232       customurlform.classList.remove('llxmirrorhidden');
    233     }
     217  Utils.n4d(self.credentials, self.n4dclass, "get_option_update", [distro], function getoptionupdate(response){
     218    var credentials=[sessionStorage.username , sessionStorage.password];
     219    var n4dclass="MirrorManager";
     220    var n4dmethod="get_mirror_orig";
     221    var arglist=[self.activedistro];
     222    Utils.n4d(credentials, n4dclass, n4dmethod, arglist, function getmirrororig(response){
     223      var value = response['msg'];
     224      if (value.toLowerCase() == 'lliurex.net/xenial'){
     225        internet.classList.add('btn-info');
     226      }
     227      else{
     228        url.classList.add('btn-info');
     229        inputcustomurl.value = value;
     230        customurlform.classList.remove('llxmirrorhidden');
     231      }
     232    });
    234233  });
    235234
     
    249248  container.appendChild(buttonGroups);
    250249  container.appendChild(customurlform);
    251 }
     250}}
    252251
    253252LliurexMirror.prototype.modifyGuiOrig = function modifyGuiOrig(){
  • lliurex-mirror/trunk/fuentes/debian/changelog

    r2756 r2765  
     1lliurex-mirror (28.1.2) xenial; urgency=medium
     2
     3  * Removing variable definition
     4  * Fix bug in admin-center module
     5
     6 -- Raul Rodrigo Segura <raurodse@gmail.com>  Mon, 07 Nov 2016 14:02:29 +0100
     7
    18lliurex-mirror (28.1.1) xenial; urgency=high
    29
  • lliurex-mirror/trunk/fuentes/n4d-lliurex-mirror.install/etc/n4d/conf.d/MirrorManager

    r2600 r2765  
    66set_cname=adm,admins
    77(ip)update=adm,admins
    8 is_alive=adm,admins
     8is_alive=anonymous,*
    99set_mirror_info=adm,admins
    1010get_mirror_architecture=anonymous,*
  • lliurex-mirror/trunk/fuentes/vars/mirror

    r1948 r2765  
    99                        "n4d-lliurex-mirror"
    1010                ]
    11         },
    12         "LLIUREXMIRROR":{
    13                 "packages": [
    14                         "n4d-lliurex-mirror"
    15                 ]
    1611        }
    1712}
Note: See TracChangeset for help on using the changeset viewer.