From fca0f4dd6576f82376a7d98cfc95641c75cd68cb Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 19 Aug 2011 10:20:40 -0500 Subject: Updated add and delete association dialog titles. The association table widget and facet have been modified to accept titles for the add and delete dialogs. The table and facet definitions have been modified to specify the appropriate titles. Some unused code have been removed. Ticket #1629 --- install/ui/sudo.js | 222 ++++++++++++++++------------------------------------- 1 file changed, 66 insertions(+), 156 deletions(-) (limited to 'install/ui/sudo.js') diff --git a/install/ui/sudo.js b/install/ui/sudo.js index 095480a9..375ca93a 100644 --- a/install/ui/sudo.js +++ b/install/ui/sudo.js @@ -124,117 +124,8 @@ IPA.entity_factories.sudocmdgroup = function() { build(); }; - -/* -* TODO: user the serial associator to perform back end operations. -*/ -IPA.sudocmd_member_sudocmdgroup_table_widget = function(spec) { - - spec = spec || {}; - - var that = IPA.association_table_widget(spec); - - that.get_records = function(on_success, on_error) { - - var length = that.values.length; - if (!length) return; - - if (length > 100) { - length = 100; - } - - if (!that.values.length) return; - - var batch = IPA.batch_command({ - 'name': that.entity.name+'_'+that.name+'_show', - 'on_success': on_success, - 'on_error': on_error - }); - - for (var i=0; i