From df049ff13dadceb8eeecc960622c8796cf287bec Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Tue, 13 Sep 2011 13:53:54 +0200 Subject: Code cleanup: widget creation https://fedorahosted.org/freeipa/ticket/1788 Removed code duplication of undo links. Simplified code of widget creation to be more readable. --- install/ui/aci.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'install/ui/aci.js') diff --git a/install/ui/aci.js b/install/ui/aci.js index e447391c..5dcd69d4 100644 --- a/install/ui/aci.js +++ b/install/ui/aci.js @@ -271,9 +271,6 @@ IPA.attributes_widget = function(spec) { if (that.undo) { that.create_undo(container); - that.get_undo().click(function(){ - that.reset(); - }); } if (that.object_type){ -- cgit