for-loop fix removes 'undefined' from reset dialog. See #12301
Fixing 'for(i in list)' usage in ome.plateview.js
Fix 'for...in' in colorpicker
Merge pull request #2820 from will-moore/rebased/dev_5_0/reset_dialog_12301

for-loop fix removes 'undefined' from reset dialog. See #12301 (rebased onto dev_5_0)