[isidorus-cvs] r61 - trunk/src/ajax/javascripts
Lukas Giessmann
lgiessmann at common-lisp.net
Wed Jun 24 07:35:52 UTC 2009
Author: lgiessmann
Date: Wed Jun 24 03:35:51 2009
New Revision: 61
Log:
ajax-client: fixed a bug with scope-topics that occurs during the scope-selection with scope-topics that owns more than one psi
Modified:
trunk/src/ajax/javascripts/datamodel.js
Modified: trunk/src/ajax/javascripts/datamodel.js
==============================================================================
--- trunk/src/ajax/javascripts/datamodel.js (original)
+++ trunk/src/ajax/javascripts/datamodel.js Wed Jun 24 03:35:51 2009
@@ -653,9 +653,9 @@
for(var j = 0; j != values.length; ++j){
if(values[j].indexOf(selectedItems[i]) !== -1){
for(var k = 0; k != values[j].length; ++k){
- select.insert({"bottom" : new Element("option", {"value" : values[j][k]}).update(values[j][k])});
- if(values[j][k] === selectedItems[i])select.writeAttribute({"selected" : "selected"});
- //values = values.without(values[j]);
+ var opt = new Element("option", {"value" : values[j][k]}).update(values[j][k]);
+ select.insert({"bottom" : opt});
+ if(values[j][k] === selectedItems[i]) opt.writeAttribute({"selected" : "selected"});
selectedIdx.push(j);
}
break;
@@ -931,6 +931,7 @@
this.__container__ = new Array();
this.resetValues(contents, constraints);
this.__constraints__ = constraints;
+
},
"resetValues" : function(contents, constraints){
try{
More information about the Isidorus-cvs
mailing list