summaryrefslogtreecommitdiffstats
path: root/install/static/sudocmd.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/static/sudocmd.js')
-rwxr-xr-xinstall/static/sudocmd.js14
1 files changed, 3 insertions, 11 deletions
diff --git a/install/static/sudocmd.js b/install/static/sudocmd.js
index b4492c25..0e335627 100755
--- a/install/static/sudocmd.js
+++ b/install/static/sudocmd.js
@@ -65,10 +65,10 @@ function ipa_sudocmd_add_dialog(spec) {
that.init = function() {
- this.superior_init();
+ that.superior_init();
- this.add_field(ipa_text_widget({name:'sudocmd', label:'Command', undo: false}));
- this.add_field(ipa_text_widget({name:'description', label:'Description', undo: false}));
+ that.add_field(ipa_text_widget({name:'sudocmd', label:'Command', undo: false}));
+ that.add_field(ipa_text_widget({name:'description', label:'Description', undo: false}));
};
return that;
@@ -80,10 +80,6 @@ function ipa_sudocmd_search_facet(spec) {
var that = ipa_search_facet(spec);
- that.get_action_panel = function() {
- return $('#sudorule .action-panel');
- };
-
that.init = function() {
that.create_column({name:'sudocmd', label:'Command', primary_key: true});
@@ -153,10 +149,6 @@ function ipa_sudocmd_details_facet(spec) {
that.superior_create = that.superior('create');
that.superior_setup = that.superior('setup');
- that.get_action_panel = function() {
- return $('#sudorule .action-panel');
- };
-
that.init = function() {
var section = ipa_details_list_section({