diff options
author | Adam Young <ayoung@redhat.com> | 2011-06-21 14:51:03 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-06-22 02:12:25 +0000 |
commit | 3a36eced53e540fe8f2b23eadf7dffda080324de (patch) | |
tree | acd557f6b4fc1b2316dcdf1874598219a91c65bc | |
parent | 1aee9df3bcf157883e7237eb94451cff0504cb94 (diff) | |
download | freeipa-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.js | 3 | ||||
-rw-r--r-- | install/ui/widget.js | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/install/ui/host.js b/install/ui/host.js index 702d0cb8..d8a417ab 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 528ee8b1..38826ee9 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;" />'). |