www/js/rec_edit.js

changeset 69
ca25fdce3b85
parent 68
2ff83855d574
child 71
e1c50b21b7e3
--- a/www/js/rec_edit.js	Tue Sep 25 20:58:06 2018 +0200
+++ b/www/js/rec_edit.js	Wed Sep 26 11:45:10 2018 +0200
@@ -424,7 +424,12 @@
                                         displayMember: "name",
                                         width: 150,
                                         height: 27,
-                                        dropDownWidth: 300
+                                        dropDownWidth: 500,
+					dropDownHeight: 500,
+					renderer: function (index, label, value) {
+						var datarecord = hoplist.records[index];
+						return datarecord.origin+ " / " + datarecord.name + " (" + datarecord.alpha + "% α)";
+					}
                                 });
                                 $("#haddrowbutton").on('select', function (event) {
                                         if (event.args) {

mercurial