client/splunk.ui.charting.js
function(path) {
            if (path === undefined) {
                path = document.location.pathname;
            }
            var locale = this.getConfigValue('LOCALE').toString();

            // if there is no way to figure out the locale, just return pathname
            if (!this.getConfigValue('LOCALE') || path.indexOf(locale) == -1) {
                return path;
            }
            var start = locale.length + path.indexOf(locale);
            return path.slice(start);
        }
function(path) {
            if (path === undefined) {
                path = document.location.pathname;
            }
            var locale = this.getConfigValue('LOCALE').toString();

            // if there is no way to figure out the locale, just return pathname
            if (!this.getConfigValue('LOCALE') || path.indexOf(locale) == -1) {
                return path;
            }
            var start = locale.length + path.indexOf(locale);
            return path.slice(start);
        }
function ( path ) { if ( path === undefined ) { path = document . location . pathname ; } var locale = this . getConfigValue ( 'LOCALE' ) . toString ( ) ; // if there is no way to figure out the locale, just return pathname if ( ! this . getConfigValue ( 'LOCALE' ) || path . indexOf ( locale ) == - 1 ) { return path ; } var start = locale . length + path . indexOf ( locale ) ; return path . slice ( start ) ; }
Return the path without the localization segment.
Return the path without the localization segment .