Changeset 3183


Ignore:
Timestamp:
07/24/13 08:39:56 (11 years ago)
Author:
sroth
Message:

Default REST URI set in init function.

File:
1 edited

Legend:

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

    r3181 r3183  
    1717    var def_url_mode;
    1818    function _serverDialogOverlayInit(aEvent) {
     19        // TODO: Is it possible to retrieve the default value dynamically from annotation-service.js?
     20        // 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";
    1922        var url_mode = nsPreferences.copyUnicharPref("wiredmarker.marker.initdata.url","WM_REST_DEFAULT");
    2023        var url_format = nsPreferences.copyUnicharPref("wiredmarker.marker.initdata.url_format");
     
    97100                                    <row>
    98101                                        <radio id="mcMarkerURLText" value="WM_REST_DEFAULT" label="&markingcollection.server.rest.default;" selected="true"/>
    99                                         <textbox value="http://pelle.ssd.gu.se:8080/exist/rest/db/annotation-framework/api/annotations.xql" readonly="true" onfocus="this.select()"/>
     102                                        <textbox id="mcMarkerURLTextDefault" readonly="true" onfocus="this.select()"/>
    100103                                    </row>
    101104                                       
Note: See TracChangeset for help on using the changeset viewer.