summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-06-21 14:51:03 -0400
committerEndi S. Dewata <edewata@redhat.com>2011-06-22 02:12:25 +0000
commit3a36eced53e540fe8f2b23eadf7dffda080324de (patch)
treeacd557f6b4fc1b2316dcdf1874598219a91c65bc
parent1aee9df3bcf157883e7237eb94451cff0504cb94 (diff)
downloadfreeipa-3a36eced53e540fe8f2b23eadf7dffda080324de.tar.gz
freeipa-3a36eced53e540fe8f2b23eadf7dffda080324de.tar.xz
freeipa-3a36eced53e540fe8f2b23eadf7dffda080324de.zip
tooltips for host add
https://fedorahosted.org/freeipa/ticket/1363 https://fedorahosted.org/freeipa/ticket/1361
-rw-r--r--install/ui/host.js3
-rw-r--r--install/ui/widget.js3
2 files changed, 4 insertions, 2 deletions
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 = $('<input />',{
- type: 'text'
+ type: 'text',
+ title: that.tooltip
});
$('<div style:"display=block;" />').