www/js/prod_edit.js

changeset 288
06dd071a429d
parent 286
124af734af68
child 294
1e09d1d102a8
equal deleted inserted replaced
287:ad939b702674 288:06dd071a429d
3238 height: 27, 3238 height: 27,
3239 dropDownWidth: 500, 3239 dropDownWidth: 500,
3240 dropDownHeight: 500, 3240 dropDownHeight: 500,
3241 renderer: function (index, label, value) { 3241 renderer: function (index, label, value) {
3242 var datarecord = hoplist.records[index]; 3242 var datarecord = hoplist.records[index];
3243 return datarecord.origin+ " / " + datarecord.name + " (" + datarecord.alpha + "% α)"; 3243 return datarecord.origin+ " - " + datarecord.name + " / " + HopFormData[datarecord.form].nl +
3244 " (" + datarecord.alpha + "% α)";
3244 } 3245 }
3245 }); 3246 });
3246 $("#haddrowbutton").on('select', function (event) { 3247 $("#haddrowbutton").on('select', function (event) {
3247 if (event.args) { 3248 if (event.args) {
3248 var index = event.args.index; 3249 var index = event.args.index;
4369 height: 23, 4370 height: 23,
4370 dropDownWidth: 500, 4371 dropDownWidth: 500,
4371 dropDownHeight: 500, 4372 dropDownHeight: 500,
4372 renderer: function (index, label, value) { 4373 renderer: function (index, label, value) {
4373 var datarecord = hoplist.records[index]; 4374 var datarecord = hoplist.records[index];
4374 return datarecord.origin+ " / " + datarecord.name + " (" + datarecord.alpha + " % α)"; 4375 return datarecord.origin+ " - " + datarecord.name + " / " + HopFormData[datarecord.form].nl + " (" + datarecord.alpha + " % α)";
4375 } 4376 }
4376 }); 4377 });
4377 $("#wh_select").on('select', function (event) { 4378 $("#wh_select").on('select', function (event) {
4378 if (event.args) { 4379 if (event.args) {
4379 var index = event.args.index; 4380 var index = event.args.index;

mercurial