Browse Source

[REF] remove useless variable, courtesy to Sylvain C;

pull/411/head
Sylvain LE GAL 10 years ago
committed by Wolfgang Pichler
parent
commit
89e2c0c88c
  1. 6
      pos_product_template/static/src/js/ppt.js

6
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

Loading…
Cancel
Save