From 6350686710c49b632ea7b1085e4db6755056d263 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 6 Dec 2010 16:30:10 -0600 Subject: Dialog i18n The ipa_add_dialog has been fixed to initialize the fields which will get the labels from metadata. Hard-coded labels have been removed from field declarations. The superior() method has been removed because it doesn't work with multi-level inheritance. Superclass method for now is called using _ (e.g. widget_init). --- install/static/details.js | 7 ------- 1 file changed, 7 deletions(-) (limited to 'install/static/details.js') diff --git a/install/static/details.js b/install/static/details.js index f0e24ac0..cc1a4e19 100644 --- a/install/static/details.js +++ b/install/static/details.js @@ -142,13 +142,6 @@ function ipa_details_section(spec){ that.fields = []; that.fields_by_name = {}; - that.superior = function(name) { - var method = that[name]; - return function () { - return method.apply(that, arguments); - }; - }; - that.__defineGetter__("entity_name", function(){ return that._entity_name; }); -- cgit