Changeset 3341
- Timestamp:
- 08/09/13 09:58:32 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/serverDialogOverlay.xul
r3183 r3341 12 12 13 13 <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"/> 14 15 15 16 <script type="application/x-javascript"> … … 19 20 // TODO: Is it possible to retrieve the default value dynamically from annotation-service.js? 20 21 // 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(); 22 23 var url_mode = nsPreferences.copyUnicharPref("wiredmarker.marker.initdata.url","WM_REST_DEFAULT"); 23 24 var url_format = nsPreferences.copyUnicharPref("wiredmarker.marker.initdata.url_format");
Note: See TracChangeset
for help on using the changeset viewer.