From 0c894d3771da30ed343aeeff629ac87ff2df3aa4 Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 2 Mar 2017 10:53:42 -0700 Subject: [PATCH] Add tooltip so you can tell which phone number is which in addressbook list --- addressbook/templates/default/index.xet | 8 ++++---- api/js/etemplate/et2_widget_url.js | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/addressbook/templates/default/index.xet b/addressbook/templates/default/index.xet index 9627349ce5..732f360564 100644 --- a/addressbook/templates/default/index.xet +++ b/addressbook/templates/default/index.xet @@ -138,10 +138,10 @@ - - - - + + + + diff --git a/api/js/etemplate/et2_widget_url.js b/api/js/etemplate/et2_widget_url.js index d4efe578d9..c92cf3c6d1 100644 --- a/api/js/etemplate/et2_widget_url.js +++ b/api/js/etemplate/et2_widget_url.js @@ -418,7 +418,10 @@ var et2_url_ro = (function(){ "use strict"; return et2_valueWidget.extend([et2_I { _nodes[0].setAttribute("class", _values["class"]); } - + if(this.options.statustext) + { + this.span.attr('title',this.options.statustext); + } } });}).call(this); et2_register_widget(et2_url_ro, ["url_ro", "url-email_ro", "url-phone_ro"]);