Changeset 88 for trunk/src/ajax/javascripts
- Timestamp:
- 07/04/09 15:33:48 (16 years ago)
- Location:
- trunk/src/ajax/javascripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/ajax/javascripts/constants.js ¶
r86 r88 12 12 13 13 // --- Some constants fot the http connections via the XMLHttpRequest-Object 14 var HOST_PREF = "http:// localhost:8000/"; // of the form "http://(.+)/"14 var HOST_PREF = "http://192.168.178.21:8000/"; //"http://localhost:8000/"; // of the form "http://(.+)/" 15 15 var GET_PREFIX = HOST_PREF + "json/get/"; 16 16 var GET_STUB_PREFIX = HOST_PREF + "json/topicstubs/"; -
TabularUnified trunk/src/ajax/javascripts/datamodel.js ¶
r86 r88 159 159 for(var i = 0; i != contents.length; ++i){ 160 160 // --- the attribute value must be set for IE 161 this.__content__.insert({"bottom" : new Element("option", {"value" : contents[i]}).update(contents[i])}); 161 var opt = new Element("option", {"value" : contents[i]}).update(contents[i]); 162 this.__content__.insert({"bottom" : opt}); 163 if(i === 0) opt.writeAttribute({"selected" : "selected"}); 162 164 } 163 165 this.__remove__.insert({"after" : this.__content__});
Note: See TracChangeset
for help on using the changeset viewer.