Commit 74411f8f09004e27554a46eba452d050821ac79e

Authored by David RENÉ
1 parent 94414f36

[!] fix sms by adding the missing phone number

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
web/widgets/specialized_elements.anubis
@@ -43,7 +43,7 @@ public define HTML_Off_Form @@ -43,7 +43,7 @@ public define HTML_Off_Form
43 sequence([ 43 sequence([
44 //add sms 44 //add sms
45 if phone_type = cellphone then 45 if phone_type = cellphone then
46 - img(_attrs+[event(onmouseover, "/icons/16x16/send_sms.png"), event(onclick, "hk_send_sms(this)"), class("clickable icon_in_text")], "/icons/16x16/sms.png","") 46 + img(attrs+[event(onmouseover, "/icons/16x16/send_sms.png"), data("phone-number", phone_number), event(onclick, "hk_send_sms(this)"), class("clickable icon_in_text")], "/icons/16x16/sms.png","")
47 else 47 else
48 empty, 48 empty,
49 img(_attrs+[class("icon_in_text")], "/icons/16x16/"+to_Icon(phone_type)), 49 img(_attrs+[class("icon_in_text")], "/icons/16x16/"+to_Icon(phone_type)),