forked from extern/egroupware
* All apps favorites: fix issue add favorites popup dialog no longer works after add/remove columns from list
This commit is contained in:
parent
302800b414
commit
edd8be4355
@ -598,7 +598,9 @@ var AppJS = (function(){ "use strict"; return Class.extend(
|
|||||||
*/
|
*/
|
||||||
add_favorite: function(state)
|
add_favorite: function(state)
|
||||||
{
|
{
|
||||||
if(typeof this.favorite_popup == "undefined")
|
if(typeof this.favorite_popup == "undefined" || // Create popup if it's not defined yet
|
||||||
|
(this.favorite_popup && typeof this.favorite_popup.group !="undefiend"
|
||||||
|
&& !this.favorite_popup.group.isAttached())) // recreate the favorite popup if the group selectbox is not attached (eg. after et2 submit)
|
||||||
{
|
{
|
||||||
this._create_favorite_popup();
|
this._create_favorite_popup();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user