From 2d9bb22772610e1211580b410c7d075996f0f78c Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 21 Oct 2013 12:37:48 +0200 Subject: Change undo to regular button https://fedorahosted.org/freeipa/ticket/3904 --- install/ui/src/freeipa/widget.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'install/ui') diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js index 0fcf6182..619b0a47 100644 --- a/install/ui/src/freeipa/widget.js +++ b/install/ui/src/freeipa/widget.js @@ -316,13 +316,12 @@ IPA.input_widget = function(spec) { that.create_undo = function(container, on_undo) { container.append(' '); - that.undo_span = - $('', { - name: 'undo', - style: 'display: none;', - 'class': 'ui-state-highlight ui-corner-all undo', - html: text.get('@i18n:widget.undo') - }).appendTo(container); + that.undo_span = IPA.button({ + name: 'undo', + style: 'display: none;', + 'class': 'undo', + label: text.get('@i18n:widget.undo') + }).appendTo(container); if(on_undo === undefined) { on_undo = function() { -- cgit