summaryrefslogtreecommitdiffstats
path: root/install/ui/add.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-05-27 11:32:17 -0400
committerAdam Young <ayoung@redhat.com>2011-06-01 22:15:11 -0400
commitc0f155bbfe5c5448af1b38b9da9bb75e9cdac9b4 (patch)
tree6fb9f9f374bb8734b2cea37aa68688172d978f36 /install/ui/add.js
parent6039fdd6b3002f65ecd0121b7ca6d31e49b9590e (diff)
downloadfreeipa-c0f155bbfe5c5448af1b38b9da9bb75e9cdac9b4.tar.gz
freeipa-c0f155bbfe5c5448af1b38b9da9bb75e9cdac9b4.tar.xz
freeipa-c0f155bbfe5c5448af1b38b9da9bb75e9cdac9b4.zip
automount delete key
indirect automount maps code review changes for automount: Removed: fields for mount and parentmap in maps details since they are not present in show or mod Hid undo link for adder dialog set up click handler for checkboxes when row does not have primary key removed add override in automountmap_adder_dialog moved 'var input...' in automount.js line 158 to start of method. changed logic in if statmenet ,dialog.js line 628 it if (!first) as suggested
Diffstat (limited to 'install/ui/add.js')
-rw-r--r--install/ui/add.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/add.js b/install/ui/add.js
index 73a423f00..33df62abc 100644
--- a/install/ui/add.js
+++ b/install/ui/add.js
@@ -32,7 +32,7 @@ IPA.add_dialog = function (spec) {
that.name = spec.name;
that.title = spec.title;
that._entity_name = spec.entity_name;
-
+ that.method = spec.method || 'add';
that.init = function() {
that.add_button(IPA.messages.buttons.add, function() {
@@ -102,7 +102,7 @@ IPA.add_dialog = function (spec) {
var command = IPA.command({
entity: that.entity_name,
- method: 'add',
+ method: that.method,
on_success: on_success,
on_error: on_error
});