From 020d6d93949ab8b09ee7fd12cbeef719d78d8378 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 28 Aug 2013 14:43:27 +0000 Subject: [PATCH] replace all . --- etemplate/js/et2_widget_template.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_template.js b/etemplate/js/et2_widget_template.js index 4178aa2064..41abe04210 100644 --- a/etemplate/js/et2_widget_template.js +++ b/etemplate/js/et2_widget_template.js @@ -171,7 +171,7 @@ var et2_template = et2_DOMWidget.extend( * @param _id */ set_id: function(_id) { - this._super.call(this, _id.replace('.', '-')); + this._super.call(this, _id.replace(/\./g, '-')); } }); et2_register_widget(et2_template, ["template"]);