Changeset 7053


Ignore:
Timestamp:
10/18/16 14:04:37 (8 years ago)
Author:
Leif-Jöran
Message:

Removed ROOTURL limitation of two char substring ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SRUAggregator/trunk/src/main/resources/assets/js/main.jsx

    r7036 r7053  
    55
    66var URLROOT = window.MyAggregator.URLROOT =
    7         window.location.pathname.substring(0, window.location.pathname.indexOf("/",2)) ||
     7        //window.location.pathname.substring(0, window.location.pathname.indexOf("/",2)) ||
     8window.location.pathname ||
    89        "/Aggregator";
    910
     
    9495
    9596        renderAggregator: function() {
    96                 return <AggregatorPage ajax={this.ajax} error={this.error} />;
     97                return <AggregatorPage ajax={this.ajax} error={this.error} embedded={false}/>;
    9798        },
    9899
     
    506507                                                                <a href="http://poi.apache.org/">Apache POI</a>{" "}
    507508                                                                (<a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>)
     509                                                        </li>
     510                                                        <li>
     511                                                                <a href="http://jopendocument.org/">jOpenDocument</a>{" "}
     512                                                                (<a href="http://www.gnu.org/licenses/gpl-3.0.txt">GPL 3.0</a>)
    508513                                                        </li>
    509514                                                </ul>
Note: See TracChangeset for help on using the changeset viewer.