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