X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Dialog.CoreNotifyRecur.js;h=339fcc29292dab8c6a21e778139e5c96d3dc1c4d;hb=426a3071aa5ff47c4dd89be678bfa3c874217e22;hp=6faace1ac51f3daa580634f88fae51f43748bd4c;hpb=aa8e30db152dd38617a976804cbbdabaeacccb74;p=Pman.Core diff --git a/Pman.Dialog.CoreNotifyRecur.js b/Pman.Dialog.CoreNotifyRecur.js index 6faace1a..339fcc29 100644 --- a/Pman.Dialog.CoreNotifyRecur.js +++ b/Pman.Dialog.CoreNotifyRecur.js @@ -340,9 +340,19 @@ Pman.Dialog.CoreNotifyRecur = { Roo.log(this); var ci = cm.getColumnByDataIndex(this.name); Roo.log(ci); + var tv = []; + var vals = Roo.decode(v); + Roo.each(vals, function(k) { + var r = this.findRecord(this.valueField, k); + if(r){ + tv.push(r.data[this.displayField]); + }else if(this.valueNotFoundText !== undefined){ + tv.push( this.valueNotFoundText ); + } + },ci.editor.field); - ci.editor.field.setValue(v); - return String.format('{0}',ce.field.el.value); + + return String.format('{0}',tv.join(', '));