From 89e2c0c88cdf4f5a2e455e8e541620d0988c98ad Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Sun, 25 Jan 2015 16:57:56 +0100 Subject: [PATCH] [REF] remove useless variable, courtesy to Sylvain C; --- pos_product_template/static/src/js/ppt.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pos_product_template/static/src/js/ppt.js b/pos_product_template/static/src/js/ppt.js index 5780c86b..5eb0438b 100644 --- a/pos_product_template/static/src/js/ppt.js +++ b/pos_product_template/static/src/js/ppt.js @@ -124,11 +124,6 @@ Define : pos_product_template.SelectVariantPopupWidget module.SelectVariantPopupWidget = module.PopUpWidget.extend({ template:'SelectVariantPopupWidget', - init: function(parent, options) { - this._super(parent,options); - this.template_name = ''; - }, - start: function(){ var self = this; // Define Variant Widget @@ -150,7 +145,6 @@ Define : pos_product_template.SelectVariantPopupWidget var template = this.pos.db.template_by_id[product_tmpl_id]; // Display Name of Template - this.template_name = template.name; this.$('#variant-title-name').html(template.name); // Render Variants