Skip to content

Commit 7bf83a3

Browse files
committed
Reverted a change breaking the reverse flag in dwr.util.addOptions(selectid, map, reverse) call.
1 parent b23afed commit 7bf83a3

File tree

1 file changed

+1
-1
lines changed
  • ui/dwr/main/java/org/directwebremoting/ui/servlet

1 file changed

+1
-1
lines changed

ui/dwr/main/java/org/directwebremoting/ui/servlet/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ dwr.util.addOptions = function(ele, data/*, options*/) {
968968
for (var prop in data) {
969969
if (typeof data[prop] == "function") continue;
970970
options.data = data[prop];
971-
if (arg3 == null) {
971+
if (!arg3) {
972972
options.value = prop;
973973
options.text = data[prop];
974974
}

0 commit comments

Comments
 (0)