From 72780a254be12005cbeb138a79e535ff106dccfa Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 26 Aug 2014 09:27:54 +0000 Subject: [PATCH] fixed taglist-account displays groups as id eg. "-4" --- etemplate/js/et2_widget_taglist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etemplate/js/et2_widget_taglist.js b/etemplate/js/et2_widget_taglist.js index 5b8ed16a13..2b1376c0be 100644 --- a/etemplate/js/et2_widget_taglist.js +++ b/etemplate/js/et2_widget_taglist.js @@ -377,7 +377,7 @@ var et2_taglist_account = et2_taglist.extend( init:function () { this._super.apply(this, arguments); - + // Counter to prevent infinite looping while fetching account names this.deferred_loading = 0; @@ -401,7 +401,7 @@ var et2_taglist_account = et2_taglist.extend( } }, - int_reg_exp: /^[0-9]+$/, + int_reg_exp: /^-?[0-9]+$/, /** * Set value(s) of taglist, reimplemented to automatic resolve numerical account_id's