Changes between Version 1 and Version 2 of Ticket #16860, comment 1


Ignore:
Timestamp:
Mar 14, 2013, 9:15:37 PM (7 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16860, comment 1

    v1 v2  
    1 Sorry for the broken code, here is the javascript excerpt I meant to copy:
    2 
    3 {{{#!js
    4 array.forEach(newValue, function(i, idx){
    5                         if(!lang.isObject(i)){
    6                                 i = i + ""; // (1)
    7                         }
    8                         if(typeof i === "string"){
    9                                 newValue[idx] = array.filter(opts, function(node){
    10                                         return node.value === i;
    11                                 })[0] || {value: "", label: ""};
    12                         }
    13                 }, this);
    14 }}}
    15 
    16  (Can I please by added to the cc: of this ticket? I cannot add myself when
     1Can I please by added to the cc: of this ticket? I cannot add myself when
    172 commenting on it, cannot do it when adding it, and cannot modify the
    18  ticket. Thanks.)
     3 ticket. Thanks.