14 New, 1 Updated patches
[webos-internals:imagineer1981s-modifications.git] / universal-search / universal-search-sms-icon-for-mobile-tagged-numbers-only.patch
1 diff --git a/usr/lib/luna/system/luna-applauncher/app/controllers/global-search-assistant.js b/usr/lib/luna/system/luna-applauncher/app/controllers/global-search-assistant.js
2 index 6d1bc78..d0b4437 100644
3 --- a/usr/lib/luna/system/luna-applauncher/app/controllers/global-search-assistant.js
4 +++ b/usr/lib/luna/system/luna-applauncher/app/controllers/global-search-assistant.js
5 @@ -617,6 +617,8 @@ GlobalSearchAssistant = Class.create({
6                         $A(data.record.phoneNumbers).each(function(a){
7                                 a.contactId = contact.id;
8                                 a.value = Mojo.Format.formatPhoneNumber(a.value);
9 +                               //a.icon = "im-image";
10 +                               if (a.label == 3)
11                                 a.icon = "im-image";
12                                 if (a.label == 2 && a.customLabel) 
13                                         a.label = a.customLabel;