From 3a36eced53e540fe8f2b23eadf7dffda080324de Mon Sep 17 00:00:00 2001 From: Adam Young Date: Tue, 21 Jun 2011 14:51:03 -0400 Subject: tooltips for host add https://fedorahosted.org/freeipa/ticket/1363 https://fedorahosted.org/freeipa/ticket/1361 --- install/ui/host.js | 3 ++- install/ui/widget.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'install/ui') diff --git a/install/ui/host.js b/install/ui/host.js index 702d0cb83..d8a417ab7 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -103,7 +103,8 @@ IPA.entity_factories.host = function () { factory:IPA.text_widget, name:"ip_address", undo:false, - label: IPA.get_method_option('host_add','ip_address')['label'] + label: IPA.get_method_option('host_add','ip_address')['label'], + tooltip: IPA.get_method_option('host_add','ip_address')['doc'] } ] }). diff --git a/install/ui/widget.js b/install/ui/widget.js index 528ee8b19..38826ee9d 100644 --- a/install/ui/widget.js +++ b/install/ui/widget.js @@ -1609,7 +1609,8 @@ IPA.entity_select_widget = function(spec) { if (editable){ that.edit_box = $('',{ - type: 'text' + type: 'text', + title: that.tooltip }); $('
'). -- cgit