This commit is contained in:
michi 2007-06-22 08:13:23 +00:00
parent 2c36528d98
commit 917f48ccac

View file

@ -10,8 +10,8 @@
* *
* $RCSfile: Html.js,v $ * $RCSfile: Html.js,v $
* $Author: robert $ * $Author: robert $
* $Revision: 1.5 $ * $Revision: 1.6 $
* $Date: 2007/02/22 14:48:34 $ * $Date: 2007/02/22 18:08:41 $
*/ */
@ -86,7 +86,7 @@ helma.Html.isSelected = function(value, selectedValue) {
if (selectedValue == null || value == null) if (selectedValue == null || value == null)
return false; return false;
if (selectedValue instanceof Array) if (selectedValue instanceof Array)
return Array.contains(selectedValue, value); return selectedValue.contains(value);
return value == selectedValue; return value == selectedValue;
}; };