Changeset 3341


Ignore:
Timestamp:
08/09/13 09:58:32 (11 years ago)
Author:
olof
Message:

added script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/serverDialogOverlay.xul

    r3183 r3341  
    1212   
    1313    <script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js" /> <!-- Required for access to the Preference Manager component. -->
     14    <script type="application/x-javascript" src="chrome://markingcollection/content/annotator-service/annotation-service.js"/>
    1415   
    1516    <script type="application/x-javascript">
     
    1920        // TODO: Is it possible to retrieve the default value dynamically from annotation-service.js?
    2021        // Set the default textbox value to the REST URL default value that is used.
    21         document.getElementById("mcMarkerURLTextDefault").value = "http://pelle.ssd.gu.se:8080/exist/rest/db/annotation-framework/api/annotations.xql";
     22        document.getElementById("mcMarkerURLTextDefault").value = annotationFramework.getDefaultBackend();
    2223        var url_mode = nsPreferences.copyUnicharPref("wiredmarker.marker.initdata.url","WM_REST_DEFAULT");
    2324        var url_format = nsPreferences.copyUnicharPref("wiredmarker.marker.initdata.url_format");
Note: See TracChangeset for help on using the changeset viewer.