Jump to content
  • Cannot delete content resources


    dchisholm
    CategoryBug report
    PriorityHigh
    ReproducibilityAlways
    ResolutionOpen
    SeverityMajor
    StatusNew
    Versionv5.6.0

    JS error is thrown when selecting a content resource and the buttons on the button bar are not enabled and neither is the context menu displayed.

     

    The "Utils" scope is missing in getInitConfiguration in repository.search.main.js. The original source is:

     

    var Utils = {

    restOfString: function(str, fromStr) {

    var from = str.lastIndexOf(fromStr) + fromStr.length;

    return str.substring(from, str.length).trim();

    },

    getInitOptions: function () {

    return localContext.rsInitOptions || __jrsConfigs__.repositorySearch["localContext"].rsInitOptions;

    },

    getInitConfiguration: function () {

    return getInitOptions().configuration;

    }

    };

     

    Just change "return getInitOptions().configuration;" to get "return Utils.getInitOptions().configuration;" and the problem is fixed.

     

     



    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...