From 23c042775c0b6d918e7f05229a834622382e66fb Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Fri, 18 Oct 2013 12:14:25 +0200 Subject: RCUE dialog implementation https://fedorahosted.org/freeipa/ticket/3904 --- install/ui/src/freeipa/add.js | 6 +- install/ui/src/freeipa/automount.js | 4 +- install/ui/src/freeipa/certificate.js | 8 +- install/ui/src/freeipa/dialog.js | 236 +++++++++++++++++++++++----------- install/ui/src/freeipa/dns.js | 8 +- install/ui/src/freeipa/hbactest.js | 4 +- install/ui/src/freeipa/host.js | 10 +- install/ui/src/freeipa/ipa.js | 6 +- install/ui/src/freeipa/service.js | 2 +- install/ui/src/freeipa/widget.js | 2 +- 10 files changed, 187 insertions(+), 99 deletions(-) (limited to 'install/ui/src') diff --git a/install/ui/src/freeipa/add.js b/install/ui/src/freeipa/add.js index 00d499da..23eac54d 100644 --- a/install/ui/src/freeipa/add.js +++ b/install/ui/src/freeipa/add.js @@ -232,8 +232,8 @@ IPA.entity_adder_dialog = function(spec) { }; /** @inheritDoc */ - that.create = function() { - that.dialog_create(); + that.create_content = function() { + that.dialog_create_content(); var div = $('
', { }).appendTo(that.container); @@ -251,7 +251,7 @@ IPA.entity_adder_dialog = function(spec) { }; // methods that should be invoked by subclasses - that.entity_adder_dialog_create = that.create; + that.entity_adder_dialog_create_content = that.create_content; that.entity_adder_dialog_create_add_command = that.create_add_command; that.entity_adder_dialog_get_success_message = that.get_success_message; diff --git a/install/ui/src/freeipa/automount.js b/install/ui/src/freeipa/automount.js index eae6a465..fca476fd 100644 --- a/install/ui/src/freeipa/automount.js +++ b/install/ui/src/freeipa/automount.js @@ -283,8 +283,8 @@ IPA.automountmap_adder_dialog = function(spec) { var that = IPA.entity_adder_dialog(spec); - that.create = function() { - that.entity_adder_dialog_create(); + that.create_content = function() { + that.entity_adder_dialog_create_content(); var method_widget = that.widgets.get_widget('general.method'); var indirect_section = that.widgets.get_widget('indirect'); diff --git a/install/ui/src/freeipa/certificate.js b/install/ui/src/freeipa/certificate.js index 2fab64b7..5da1de81 100755 --- a/install/ui/src/freeipa/certificate.js +++ b/install/ui/src/freeipa/certificate.js @@ -197,7 +197,7 @@ IPA.cert.download_dialog = function(spec) { } }); - that.create = function() { + that.create_content = function() { var textarea = $('