Addressbook - force clear any lingering advanced search when applying a favorite

This commit is contained in:
nathangray 2017-06-13 08:57:11 -06:00
parent 6919a2a51c
commit ed43f07811

View File

@ -978,6 +978,13 @@ app.classes.addressbook = AppJS.extend(
}
}
}
// Make sure advanced search is false if not set, this clears any
// currently set advanced search
if(typeof state.state.advanced_search === 'undefined')
{
state.state.advanced_search = false;
}
return this._super.apply(this, arguments);
},