From 508217ada7330de8be576e04289c379fac45b276 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Fri, 26 Aug 2011 18:36:54 +0200 Subject: Modifying sudo options refreshes the whole page https://fedorahosted.org/freeipa/ticket/1689 Currently adding or deleting sudo options will refresh the entire page. It's not a problem but the code could be optimized to refresh only the sudo options table --- install/ui/widget.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'install/ui/widget.js') diff --git a/install/ui/widget.js b/install/ui/widget.js index 62af6c16..83cb4dcb 100644 --- a/install/ui/widget.js +++ b/install/ui/widget.js @@ -1471,11 +1471,11 @@ IPA.table_widget = function (spec) { that.empty(); that.values = result[that.name]; - if (!that.values) return; - - for (var i=0; i