Changeset 2985


Ignore:
Timestamp:
06/04/13 16:01:11 (11 years ago)
Author:
olhsha
Message:

correcting corrupted bug fix 232 (redundant redirection). Possible an intermediate version of the Config.as and Bowser.mxml was saved earlier, but the last version from the buffer was lost. Should be ok now.

Location:
ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/browser/Browse.mxml

    r2964 r2985  
    199199                                if (id==null) {return false;}
    200200                                var index:int=id.search(Config.COMPONENT_PREFIX);
    201                                 if (index!=0) {
     201                                if (index>=0) {
    202202                                        return true;
    203203                                } else {
  • ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/services/Config.as

    r2964 r2985  
    2525                // COMPONENT_PREFIX is defined in ComponentDescription
    2626                // PROFILE_PREFIX is defined in ProfileDescription
    27                 private static const REGISTRY_ID="clarin.eu:cr1:";
    28                 private static const COMPONENT_PREFIX=REGISTRY_ID+"c_";
    29                 private static const PROFILE_PREFIX=REGISTRY_ID+"p_";
     27                private static const REGISTRY_ID:String="clarin.eu:cr1:";
     28                public static const COMPONENT_PREFIX:String=REGISTRY_ID+"c_";
     29                public static const PROFILE_PREFIX:String=REGISTRY_ID+"p_";
    3030               
    3131
     
    5757               
    5858                public static var _instance:Config = new Config();
    59                 public static var COMPONENT_PREFIX;
    60                 public static var PROFILE_PREFIX;
    61 
     59               
    6260                private var _startupItem:String; //item to be selected at startup, can be specified as a url parameter
    6361                private var _serviceRootUrl:String = "http://localhost:8080/ComponentRegistry";
Note: See TracChangeset for help on using the changeset viewer.