fixed taglist-account displays groups as id eg. "-4"

This commit is contained in:
Ralf Becker 2014-08-26 09:27:33 +00:00
parent d806a5bf69
commit fe9336896c

View File

@ -377,7 +377,7 @@ var et2_taglist_account = et2_taglist.extend(
init:function () init:function ()
{ {
this._super.apply(this, arguments); this._super.apply(this, arguments);
// Counter to prevent infinite looping while fetching account names // Counter to prevent infinite looping while fetching account names
this.deferred_loading = 0; 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 * Set value(s) of taglist, reimplemented to automatic resolve numerical account_id's