So, nobody uses something like
1 |
var win = window.showModalDialog(prependOrgName("/_controls/lookup/lookupinfo.aspx"), "lookup", 'dialogHeight=600px,dialogWidth=500px,toolbar=no,directories=no,status=yes,linemenubar=no,scrollbars=no,resizable=yes,modal=yes', { heigt: dialogHeight, width: dialogWidth })); |
if (win) {
if (win.items) {
if (win.items.length) {
…
In order to use the standard lookup functionality of CRM 2011. So, nobody will be upset, because the returnvalue from showModalDialog (lookupinfo.aspx) from RU12 on is no longer an (json)object, it is now a json-formatted String. To get the real value, the evil eval (or something less evil) is to be used.
But as i said, nobody will have this issue starting at RU12…
No comments yet.